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 commit088927aac1) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> (cherry picked from commit1ef30cc10c) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
8ef2708c07
commit
bc7d2f2f64
|
|
@ -181,7 +181,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