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.
This commit is contained in:
oleonard 2006-04-22 14:57:46 +00:00
parent c1c32fe88c
commit 720812f8ce
1 changed files with 1 additions and 1 deletions

View File

@ -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");