https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17946
--- Comment #2 from M. Tompsett <[email protected]> --- Comment on attachment 59288 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59288 Bug 17946: Show number of subscriptions on tab in OPAC record details Review of attachment 59288: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17946&attachment=59288) ----------------------------------------------------------------- ::: koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ +576,4 @@ > > [% IF ( subscriptionsnumber ) %] > [% IF ( defaulttab == 'subscriptions' ) %]<li > id="tab_subscriptions" class="ui-tabs-active">[% ELSE %]<li > id="tab_subscriptions">[% END %] > + <a href="#subscriptions">Subscriptions ( [% > subscriptions.size || 0 %] )</a> Why not just subscriptionsnumber? See line 796ish where it puts it in the sentence. There is no need for || 0, because subscriptions.size should be equal to subscriptionsnumber. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
