From ca36a74c868f25217e0db0900f043b4403aa9e01 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Tue, 17 May 2016 05:04:08 +0000 Subject: [PATCH] Bug 16532: Groups showing empty tables if no groups defined EDIT: Same change for libraries To test: 1) Go to Admin -> Libraries and Groups 2) Notice empty tables if nothing defined 3) Apply patch and refresh page 4) Empty tables should not show 5) Add a new group 6) Confirm table shows correctly Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index b698a8641c..77356ac642 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -218,7 +218,7 @@ tinyMCE.init({ [% IF op == 'list' %]

Libraries

- [% IF libraries %] + [% IF libraries.count %] @@ -283,7 +283,7 @@ tinyMCE.init({ [% IF group_types %] [% FOREACH group_type IN group_types %]

[% IF group_type.categorytype == 'properties' %]Properties[% ELSIF group_type.categorytype == 'searchdomain' %]Search domain[% END %]

- [% IF group_type.categories %] + [% IF group_type.categories.size %]
-- 2.39.5