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

--- Comment #27 from Jan Kissig <[email protected]> ---
Created attachment 207571
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207571&action=edit
Bug 42294: Fix error on show entries dropdown in patron search

This fixes an error for the values in the show (number of) entries on the
patron search datatable which is dependent on a system preference
PatronsPerPage.
- When set to 20 this resulted in in a String "20" and appeared to times in the
dropdown menu.
- When set to "" or "acb" (as the syspref is not validated yet (see 43767) led
to an error.

Testplan (with patch applied):
- Set the system preference to the following values: "", "abc", 20, 75.
- For each value go to /cgi-bin/koha/members/members-home.pl?firstletter=A and
check the following
- check the drop down above the table which says "Show ## entries"
 - "" -> dropdown is 10, 20, 50, 100, All
 - "abc" -> dropdown is 10, 20, 50, 100, All
 - 20 -> dropdown is 10, 20, 50, 100, All
 - 75 -> dropdown shows 10, 20, 50, 75, 100, All

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to