[Koha-bugs] [Bug 10281] Search domains do not seem to work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat May 18 15:22:33 CEST 2013


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

--- Comment #2 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 18227
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18227&action=edit
Bug 10281: searching for a search domain fails

For reasons I cannot fathom, the split() in handling multi-branch
limits was not coming up with a valid search group code. Replacing
the split() with a substr() and creating the CGI parameter as a string
rather than as an arrayref fixes the problem. This problem may not
affect all installations, since I tested this exact feature just under
two months ago and it worked fine, and none of the relevant code has
been changed since then that I can see.

To test:
1) Create search group, and add at least one library to it, in
   /cgi-bin/koha/admin/branches.pl
2) Apply patch
3) Try doing a search limited to your search group, making sure that
   the search will match items that belong to a library in the search
   group
4) Sign off

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list