From: Jonathan Druart <[email protected]>

Currently, serials => 'routing' is required, which does not make any
sense.
It's a copy/paste error when this file has been created (you can blame
me).

Note that I am not sure catalogue is the correct permission, but it's
the one used almost everywhere in this module

Test plan:
Confirm that catalogue is enough to search for patrons to add to a
patron card.

Signed-off-by: Srdjan <[email protected]>
---
 patroncards/add_user_search.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patroncards/add_user_search.pl b/patroncards/add_user_search.pl
index 9bc3685..3d9f7af 100755
--- a/patroncards/add_user_search.pl
+++ b/patroncards/add_user_search.pl
@@ -35,7 +35,7 @@ my ( $template, $loggedinuser, $cookie, $staff_flags ) = 
get_template_and_user(
         query           => $input,
         type            => "intranet",
         authnotrequired => 0,
-        flagsrequired => { serials => 'routing' },
+        flagsrequired   => { catalogue => 1 },
     }
 );
 
-- 
2.7.4
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to