Bug 7673: The delete all items link should only be displayed if delete_all_items...
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 31 Mar 2014 11:50:08 +0000 (13:50 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 11 Nov 2014 15:27:12 +0000 (12:27 -0300)
This test had been lost in a rebase.

Signed-off-by: Koha Team AMU <koha.aixmarseille@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc

index ceaf247..3044f16 100644 (file)
@@ -203,7 +203,7 @@ CAN_user_serials_create_subscription ) %]
                 [% END %]
             [% END %]
 
-            [% IF ( CAN_user_editcatalogue_edit_items ) %]
+            [% IF ( CAN_user_editcatalogue_delete_all_items ) %]
                 [% IF ( count ) %]
                     <li><a href="#" id="deleteallitems">Delete all items</a></li>
                 [% ELSE %]