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:
parent
c1c32fe88c
commit
720812f8ce
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue