[Koha-bugs] [Bug 16659] Add the possibility to search for multiple branches (libraries) or groups in the advanced search in the opac and the staff interface

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 4 10:39:11 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16659

--- Comment #4 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Comment on attachment 52030
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52030
[SIGNED OFF] Bug 16659: Add the possibility to search for multiple branches

Review of attachment 52030:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=16659&attachment=52030)
-----------------------------------------------------------------

Patch is a good start, but...

::: catalogue/search.pl
@@ +406,5 @@
> +my @branch = map uri_unescape($_), $cgi->multi_param('branch');
> +if( @branch ) {
> +    push @limits, '(' . join (" or ", map {'branch: ' . $_ } @branch ) . ')';
> +}
> +

You should do this differently...

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


More information about the Koha-bugs mailing list