[Koha-bugs] [Bug 12136] Problem in opac-topissues.pl if AdvancedSearchTypes has multiple values (separated by pipes)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 24 21:37:55 CEST 2014


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

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 27557
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27557&action=edit
Bug 12136 - Problem in opac-topissues.pl if AdvancedSearchTypes has multiple
values (separated by pipes)

This patch fixes empty dropdown list if AdvancedSearchTypes contains multiple
values.
It defaults the dropdown to "All item types". If AdvancedSearchTypes contains
ccode, it displays "All collections"

To test:
1) Set OpacTopissue preferende to "Allow"
2) Set AdvancedSearchTypes to an empty value
-> "Most popular" displays "Limit to" with "All item types"
3) Set AdvancedSearchTypes to 'itemtypes'
-> "Most popular" displays "Limit to" with "All item types"
4) Set AdvancedSearchTypes to 'ccode'
-> "Most popular" displays "Limit to" with "All collections"
5) Set AdvancedSearchTypes to 'ccode|itemtypes' or 'itemtypes|ccode' or 'ccode'
-> "Most popular" should now display  "Limit to" with "All collections"

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


More information about the Koha-bugs mailing list