From 3c344c20cf8837d294a47ff81dc2a4cac66473cf Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 5 May 2017 17:20:09 -0400 Subject: [PATCH] Bug 18553 - Incorrect "Loading..." tag on moremember.tt when no clubs defined To test: 1 - Have no clubs 2 - View Details tab for a patron 3 - Note the 'Loading' tag near the tabs 4 - Apply patch 5 - Load patron details and notice 'Loading' is gone 6 - Add a club and verify tab shows as expected Signed-off-by: Mark Tompsett Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index bba77f0097..dc4ff75125 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -568,7 +568,7 @@ function validate1(date) { [% END %] -[% IF CAN_user_clubs && ( enrollments || enrollable ) %] +[% IF CAN_user_clubs && ( enrollments.count || enrollable.count ) %]
Loading...
-- 2.39.5