diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc index f05fa91f6a..35421e930e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc @@ -1,10 +1,4 @@ -[%# First check to see if we have anything selected, otherwise we select all %] -[% selectall = 1 %] -[% FOREACH branch IN branches %] - [% IF branch.selected %] - [% selectall = 0 %] - [% END %] -[% END %] +[%# To select all include with selectall = 1 %]

Select all | Clear all

@@ -13,7 +7,7 @@ [% IF branch.selected || (selectall == 1) %] [% ELSE %] - + [% END %]