View | Details | Raw Unified | Return to bug 11677
Collapse All | Expand All

(-)a/C4/Search.pm (-2 / +1 lines)
Lines 1691-1697 sub buildQuery { Link Here
1691
## In English:
1691
## In English:
1692
## all records not indexed in the onloan register (zebra) and all records with a value of lost equal to 0
1692
## all records not indexed in the onloan register (zebra) and all records with a value of lost equal to 0
1693
            $availability_limit .=
1693
            $availability_limit .=
1694
"( ( allrecords,AlwaysMatches='' not onloan,AlwaysMatches='') and (lost,st-numeric=0) )"; #or ( allrecords,AlwaysMatches='' not lost,AlwaysMatches='')) )";
1694
"( (allrecords,AlwaysMatches='') and (not-onloan-count,st-numeric >= 1) and (lost,st-numeric=0) )";
1695
            $limit_cgi  .= "&limit=available";
1695
            $limit_cgi  .= "&limit=available";
1696
            $limit_desc .= "";
1696
            $limit_desc .= "";
1697
        }
1697
        }
1698
- 

Return to bug 11677