Koha-clms/C4/Utils/DataTables
Nick Clemens 0cb156cba5 Bug 25875: Move check for module_bit and code to the JOIN
If we limit the JOIN to rows with the correct subpermission we won't
duplicate the returned patrons

To test:
 1 - Give a patron full acquisitions permissions
 2 - Also give them several subpermissions on other areas
 3 - Go to Acquisitions
 4 - Edit a fund
 5 - Add a user to the fund
 6 - Search for user above
 7 - They return multiple times in results
 8 - Apply patch
 9 - Restart all the things
10 - Repeat search
11 - Patron appears once

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7218767851)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 59e1e78c6d)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
2020-07-16 16:36:45 +12:00
..
ColumnsSettings.pm Bug 17189: Replace occurrences of 'use Koha::Cache' 2016-09-08 10:24:47 +00:00
Members.pm Bug 25875: Move check for module_bit and code to the JOIN 2020-07-16 16:36:45 +12:00
VirtualShelves.pm Bug 20144: [sql_modes] Fix GROUP BY clause in Virtualshelves search (DT) 2018-02-13 13:59:01 -03:00