Koha-clms/catalogue
Jared Camins-Esakov 43e0400728 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

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
I have failed to recreate the problem on three different dev installs,
both on Ubuntu and Debian, but the current patch does not break
anything as far as I can tell, so I'm signing off.

I tested with two libraries in the same search domain, with each
library owning a different book by the same author. Searching for
the author in
- all libraries,
- individual libraries and
- the search domain that contains both libraries
all return the expected results.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.
I couldn't reproduce the problem, but didn't find any regressions.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit cd281e4880)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-05-19 08:39:46 -04:00
..
ISBDdetail.pl Bug 5790 - Prevent deletion of records with holds 2013-02-07 07:29:45 -05:00
MARCdetail.pl Bug 5790 - Prevent deletion of records with holds 2013-02-07 07:29:45 -05:00
cardview.pl Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
detail.pl Bug 9875: Hide empty items tab 2013-03-20 14:37:52 -04:00
export.pl Bug 9663 - Individual bibliographic record "Save" option requires export permission 2013-02-28 19:07:50 -05:00
getitem-ajax.pl Bug 7175: Allow to choose which items to receive 2012-05-21 17:46:07 +02:00
image.pl Bug 8255: allow local cover images to be cached 2012-06-25 18:12:29 +02:00
imageviewer.pl Bug 5790 - Prevent deletion of records with holds 2013-02-07 07:29:45 -05:00
issuehistory.pl Bug 4321: clean C4::Biblio::GetBiblio and uses 2012-09-18 12:11:54 +02:00
labeledMARCdetail.pl Bug 5790 - Prevent deletion of records with holds 2013-02-07 07:29:45 -05:00
moredetail.pl Bug 5790 - Prevent deletion of records with holds - QA Followup 2013-02-07 07:29:45 -05:00
search.pl Bug 10281: searching for a search domain fails 2013-05-19 08:39:46 -04:00
showmarc.pl Bug 9684 : Correct path to compact.xsl 2013-04-27 07:08:20 -04:00
updateitem.pl Bug 6296: allow users to be authenticated by SSL client certs 2012-03-19 17:02:44 +01:00