http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12136
Bug ID: 12136
Summary: Problem in opac-topissues.pl if AdvancedSearchTypes
has multiple values (separated by pipes)
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: OPAC
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
The "Most popular" feature in Opac is broken if AdvancedSearchTypes has
multiple values (separated by pipes).
To reproduce:
1) Set OpacTopissue preferende to "Allow"
2) Set AdvancedSearchTypes to an empty value
-> "Most popular" shows "Limit to" with "All item types" (OK)
3) Set AdvancedSearchTypes to 'itemtypes'
-> "Most popular" shows "Limit to" with "All item types" (OK)
4) Set AdvancedSearchTypes to 'ccode'
-> "Most popular" shows "Limit to" with "All collections" (OK)
5) Set AdvancedSearchTypes to 'ccode|itemtypes' or 'itemtypes|ccode'
-> "Most popular" shows "Limit to" with "All item types" with EMPTY dropdown
list (BUG)
This is due to wrong comparisions in opac-topissues.pl combined with the fact
that the program logic can only display one drop down list.
Patch follows.
--
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/