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

--- Comment #1 from Marc VĂ©ron <[email protected]> ---
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.
_______________________________________________
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/

Reply via email to