From a63f61b2d523eef5d826a850f7a04214254d7367 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 1 Nov 2022 15:21:24 +0000 Subject: [PATCH] Bug 31028: Only show pending concerns if there are some This patch adds logic to catch when pending_biblio_tickets equals zero. Signed-off-by: David Nind Signed-off-by: Helen Oliver --- koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt index b6247c047b2..4515cbc04d3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -232,7 +232,7 @@ [% END %] - [% IF ( ( Koha.Preference('OpacCatalogConcerns') || Koha.Preference('CatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue ) %] + [% IF ( ( Koha.Preference('OpacCatalogConcerns') || Koha.Preference('CatalogConcerns') ) && pending_biblio_tickets && CAN_user_editcatalogue_edit_catalogue ) %]
Catalog concerns pending: [% pending_biblio_tickets | html %] -- 2.39.1