From 720812f8cedbcc2cf8224b156fdb60cbc68736eb Mon Sep 17 00:00:00 2001 From: oleonard Date: Sat, 22 Apr 2006 14:57:46 +0000 Subject: [PATCH] Typo was preventing 'hidelostitems' system preference from being applied. ** HOWEVER! ** The 'hidelostitems' system preference (now that it's working) seems to be affecting both the OPAC and the intranet, even though the description of the preference suggests that it affects only the OPAC. --- C4/SearchMarc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/SearchMarc.pm b/C4/SearchMarc.pm index 776c304f78..6ac0ed7b17 100644 --- a/C4/SearchMarc.pm +++ b/C4/SearchMarc.pm @@ -407,7 +407,7 @@ if (C4::Context->preference("sortbynonfiling")) { my $oldline; my ($oldbibid, $oldauthor, $oldtitle); my $sth_itemCN; - if (C4::Context->preference('hidelostitem')) { + if (C4::Context->preference('hidelostitems')) { $sth_itemCN = $dbh->prepare("select items.* from items where biblionumber=? and (itemlost = 0 or itemlost is NULL) order by homebranch"); } else { $sth_itemCN = $dbh->prepare("select items.* from items where biblionumber=? order by homebranch");