]> git.koha-community.org Git - koha.git/commit
Bug 33956: Use Koha::Biblio->opac_summary_html from opac-user.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 5 Jul 2023 09:07:35 +0000 (11:07 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 13 Jul 2023 18:19:39 +0000 (15:19 -0300)
commit3f3503f10386cb7b2f27ca9c4455a502e9c06709
tree1a2746243d795950b031b746b0b1eed94b4af593
parentb1dcab3077d352d89ec2013d4cc9d30a9f7ed132
Bug 33956: Use Koha::Biblio->opac_summary_html from opac-user.pl

This code is currently duplicated in controllers opac-readingrecord.pl
and opac-user.pl.

After bug 33949 it will be removed from opac-readingrecord.pl, and bug
33956 aims to remove it from opac-user.pl.

Final situation will be: we have the code in a module, covered by tests
\o/

Test plan:
Check an item out
Setup OPACMySummaryHTML ("biblionumber: {BIBLIONUMBER}" for instance)
Go to the "Your summary" at the OPAC and notice the "Links" column
Everything should work identically before and after this patch

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
opac/opac-user.pl