Revert "Bug 17278: Fix "show all items" link"
This reverts commit 24e69d1ccbe0efa5ad49db7cd3bfe09cfab6a6ca.
This commit is contained in:
parent
f7d75c5f2b
commit
aed6d17ffd
|
|
@ -1472,10 +1472,6 @@ sub buildQuery {
|
|||
# this happens when selecting a subject on the opac-detail page
|
||||
@limits = grep {!/^$/} @limits;
|
||||
my $original_q = $q; # without available part
|
||||
unless ( grep { /^available$/ } @limits ) {
|
||||
$q =~ s| and \( \( allrecords,AlwaysMatches:'' not onloan,AlwaysMatches:''\) and \(lost,st-numeric=0\) \)||;
|
||||
$original_q = $q;
|
||||
}
|
||||
if ( @limits ) {
|
||||
if ( grep { /^available$/ } @limits ) {
|
||||
$q .= q| and ( ( allrecords,AlwaysMatches:'' not onloan,AlwaysMatches:'') and (lost,st-numeric=0) )|;
|
||||
|
|
|
|||
Loading…
Reference in New Issue