[Koha-bugs] [Bug 28864] The patron search results in the Patron card creator doesn't seem to use PatronsPerPage syspref

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 28 10:42:26 CEST 2022


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

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #138195|0                           |1
        is obsolete|                            |

--- Comment #11 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 138197
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138197&action=edit
Bug 28864: Have patron search use PatronsPerPage better.

Add pageLength to members/member.tt
Add aLengthMenu and pageLength to
 patroncards/add_user_search (common/patron_search.tt).
Add aLengthMenu, pageLength, and iDisplayLength to patroncards/edit-batch

Test plan:
1. Set the PatronsPerPage system preference to any integer other than 20.

2. Go to the Patrons page and search for patrons.
3. Observe that the per page drop down defaults to 20.

4. Go to Tools -> Patron card creator.
5. Start a new Card Batch.
6. Click the 'Add patron(s)' button to open the patron search window.
7. Do a search.
8. Observe that the per page drop down defaults to 20.
8b.  If the PatronsPerPage was set to a value other than 10, 20, 50, or 100
      observe that that value is not in the per page drop down.
9. Close patron search window.

10. Apply patch.
11. Click the 'Add patron(s)' button again to open the patron search window.
12. Do a search.
13. Observe that the per page drop down includes the value of PatronsPerPage
     and that value is selected by default.

14. Go back to the Patrons page and search for patrons.
15. Observe that the per page drop down defaults to the value of the
     PatronsPerPage system preference.

Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>

Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>

Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>

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


More information about the Koha-bugs mailing list