[Koha-bugs] [Bug 6539] Z39.50 Search ISBN Field Populated with title

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 30 08:07:05 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6539

--- Comment #6 from Katrin Fischer <katrin.fischer at bsz-bw.de> 2011-06-30 06:07:05 UTC ---
Hi Peter, thx for your work on this. I have one more concern: 

+    my $bsth;
+              if ( C4::Context->preference("searchMyLibraryOnly")  )
+           {
+            $bsth =$dbh->prepare("SELECT branchcode,branchname FROM branches
WHERE branchcode = '". C4::Branch::mybranch() ."' "); # FIXME : use
C4::Branch::GetBranches
+            }
+            else
+            {
+             $bsth =$dbh->prepare("SELECT branchcode,branchname FROM branches
");                
+            }

This adds a check for a new system preference 'searchMyLibraryOnly' that is
currently not existing in Koha (hope I didn't miss it). 
If this is something you want to contribute to Koha it should go on a different
bug with more code to add the system preference properly and with a description
what it is supposed to do, so that it can be documented.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list