[Koha-cvs] koha/C4 SearchMarc.pm [rel_2_2]

Owen Leonard oleonard at athenscounty.lib.oh.us
Sat Apr 22 16:57:46 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Owen Leonard <oleonard at savannah.gnu.org>	06/04/22 14:57:46

Modified files:
	C4             : SearchMarc.pm 

Log message:
	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.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/C4/SearchMarc.pm.diff?only_with_tag=rel_2_2&tr1=1.36.2.27&tr2=1.36.2.28&r1=text&r2=text

Patches:
Index: koha/C4/SearchMarc.pm
diff -u koha/C4/SearchMarc.pm:1.36.2.27 koha/C4/SearchMarc.pm:1.36.2.28
--- koha/C4/SearchMarc.pm:1.36.2.27	Thu Apr 13 18:14:34 2006
+++ koha/C4/SearchMarc.pm	Sat Apr 22 14:57:46 2006
@@ -407,7 +407,7 @@
 	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");





More information about the Koha-cvs mailing list