This seems to have been introduced with the feature in bug 10320, and updated with bug 18403
Created attachment 126840 [details] [review] Bug 29318: Remove permission check from overdrive search page This removes the 'edit_borrowers' permission from OverDrive search To test: 1 - Enable OverDrive via koha system preferences 2 - Sign in to opac with a user with no permissions 3 - Perform a search that will return OD results, 'love' works 4 - Click thje "Found XX results in the library's OverDrive collection" 5 - Note you are logged out of Koha 6 - Apply patch 7 - Repeat 8 - Success
Created attachment 126841 [details] [review] Bug 29318: Tidy the code
Created attachment 126842 [details] [review] Bug 29318: Remove permission check from overdrive search page This removes the 'edit_borrowers' permission from OverDrive search To test: 1 - Enable OverDrive via koha system preferences 2 - Sign in to opac with a user with no permissions 3 - Perform a search that will return OD results, 'love' works 4 - Click thje "Found XX results in the library's OverDrive collection" 5 - Note you are logged out of Koha 6 - Apply patch 7 - Repeat 8 - Success Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 126843 [details] [review] Bug 29318: Tidy the code Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 126849 [details] [review] Bug 29318: Remove permission check from overdrive search page This removes the 'edit_borrowers' permission from OverDrive search To test: 1 - Enable OverDrive via koha system preferences 2 - Sign in to opac with a user with no permissions 3 - Perform a search that will return OD results, 'love' works 4 - Click thje "Found XX results in the library's OverDrive collection" 5 - Note you are logged out of Koha 6 - Apply patch 7 - Repeat 8 - Success Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 126850 [details] [review] Bug 29318: Tidy the code Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Couldn't test with Overdrive, but trusting Owen has. Code reads well and a permission check definitely makes no sense in an OPAC script.
So basically this script has never been used?
Pushed to master for 21.11, thanks to everybody involved!