From 31946d68e4833bf817c2ce2c6e1e12a52ac0be31 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 10 Feb 2020 08:05:50 +0000 Subject: [PATCH] Bug 24530: (QA follow-up) Include Syndetics in notes count Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index d6517132ea..f0e06a78a9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -563,7 +563,14 @@
  • Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]
  • [% END %] [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %] -
  • Title notes ( [% MARCNOTES.size %] )
  • + [% SET title_notes_count = 0 %] + [% IF MARCNOTES %] + [% SET title_notes_count = MARCNOTES.size %] + [% ELSIF notes %] + [% SET title_notes_count = 1 %] + [% END %] + [% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %] +
  • Title notes ( [% title_notes_count %] )
  • [% END %] [% IF ( SYNDETICS_TOC ) %]
  • TOC
  • -- 2.39.5