https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18884
Mark Alexander <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Mark Alexander <[email protected]> --- I ran into this problem today on 17.05.01. The workaround I came up with was to create a library group, and add to this group the specific library I wanted to search. Then in the search form, I selected that library group. I'm not familiar with the code, but I did take a quick look, and couldn't see a way to fix this just in advsearch.tt. The language limit is handled correctly there through the use of a FOREACH loop that inserts "ln,rtrn:" in front of the language name in the option value. But the branch limit is handled by a call to options_for_libraries. That function, in html_helpers.inc, doesn't seem to allow a prefix to be inserted in front of the option value. So it looks like the branch selector in advsearch.tt should have a name other than "limit", and in search.pl this param should be handled separately from the other "limit" params, by inserting the prefix "limit=holdingbranch:" in front of the branch name. Of course, due to my ignorance, I could be entirely wrong about all this :-) . -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
