From 0a6b8718979f8c5b641d2ab7d9766f992d65150c Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 24 Feb 2020 14:05:23 +0000 Subject: [PATCH] Bug 24617: Add number to Descriptions in catalogue detail view Content-Type: text/plain; charset=utf-8 Same change as in bug 24530 for OPAC. Only much easier. No trouble from Syndetics. Test plan: Add or remove a few notes from the MARC record (tag 500 etc). Verify the number is correct on the detail page. Signed-off-by: Marcel de Rooy Tested the else part for 'notes' with a [% SET notes = 'test' %] in tt file. --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 20bb32bb37..9c5d669585 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -182,7 +182,7 @@ Holdings ([% itemloop.size() || 0 | html %]) [% END %] -[% IF ( MARCNOTES || notes ) %]
  • Descriptions
  • [% END %] +[% IF ( MARCNOTES || notes ) %]
  • Descriptions ([% MARCNOTES.size || 1 %])
  • [% END %] [% IF ( subscriptionsnumber ) %]
  • Subscriptions
  • [% END %] [% IF Koha.Preference('AcquisitionDetails') %]
  • Acquisition details
  • [% END %] [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
  • Editions
  • [% END %][% END %] -- 2.11.0