Bug 40321: Fix hold history search
The table global search didn't combine correctly with the status filters.
Test plan:
1. Have a patron with holds history
2. Go to members/holdshistory.pl?borrowernumber=x where x is the borrowernumber
3. Try to us the DT seacch to filter
=> Filtering is working as expected
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 088927aac1)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
f3844f6ee7
commit
1ef30cc10c
|
|
@ -169,7 +169,7 @@
|
|||
let old_holds_table = build_holds_table("#table_oldholdshistory", 1);
|
||||
function build_holds_table(table_id, old){
|
||||
let additional_filters = {
|
||||
"-or": function(){
|
||||
"-and": function(){
|
||||
let statuses = [];
|
||||
let include_cancelled = false;
|
||||
if ( table_id == '#table_holdshistory' ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue