Koha/koha-tmpl/intranet-tmpl
Jonathan Druart 25fa93a406
Bug 24964: Restore pagination for patrons for owner/users of funds
admin/add_user_search.pl sets 'patrons_with_acq_perm_only', to only
retrieve patrons with acq (order_manage) permissions.

The original bug was hidden in the existing code, but the behavior was
terrible.
To prevent patrons matching the permissions contrainst to be hidden, we
fetched ALL the patrons from the DB, then filtered them depending on
their permissions. This might have awful performance on DB with lot of
patrons.

So basically with this patch we are adding the pagination back to the
"owner/users for funds" feature, as the permission filtering is now done
at DB level.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-06 10:57:10 +01:00
..
js Bug 24219: Preserve sort order when returning to result list 2020-03-06 15:01:50 +00:00
lib Bug 24455: Add moment-timezone library in staff 2020-03-25 13:54:16 +00:00
prog Bug 24964: Restore pagination for patrons for owner/users of funds 2020-04-06 10:57:10 +01:00