[Koha-bugs] [Bug 25875] Patron displayed multiple times in add user search if they have multiple sub permissions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Jun 28 23:42:26 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25875
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #106286|0 |1
is obsolete| |
--- Comment #7 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 106363
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106363&action=edit
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 at myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list