[Koha-bugs] [Bug 1060] hidelostitems system preference incorrectly affects both OPAC and intranet

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Tue Dec 11 10:21:04 CET 2007


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1060





------- Comment #6 from paul.poulain at free.fr  2007-12-11 01:21 -------
Joshua,

looking for 'hidelostitem' in the code, I only find it in opac-search :

if (C4::Context->preference('hidelostitems') == 1) {
        $query ="($query) not ((lost,st-numeric gt 0) or (
allrecords,AlwaysMatches='' not lost,AlwaysMatches=''))";
        warn "Q".$query;
}

which means the problem is supposed to be solved through a zebra query.

Note that in UNIMARC it won't work, as we don't have a "lost" marc field atm.

+ iirc, you suggested to have items table as authoritative, and not the MARC.

Let's continue the discussion about that, as I don't see clearly how to fix the
problem... 




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list