]> git.koha-community.org Git - koha.git/commit
Bug 23968: fix OPACMySummaryNote feature
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 5 Nov 2019 08:52:59 +0000 (09:52 +0100)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Tue, 14 Apr 2020 01:38:10 +0000 (13:38 +1200)
commit87eac5cc3ab2ee7f95ca52781ab3a97754ece0bc
tree869fc92bbfb6f177784327c223827f45f4e2f19d
parent55f94a201e40a96e49be602204a14507e4fb1913
Bug 23968: fix OPACMySummaryNote feature

The system preference OPACMySummaryNote is used to display on the logged-in patron summary page at OPAC.
It does not display anymore.

Looks like it comes from code :
[% IF OPACMySummaryNote %][% Koha.Preference('OPACMySummaryNote') | $raw %][% END %]
OPACMySummaryNote used to be a provided variable.

Test plan:
1) Enable system preference OPACMySummaryNote
2) Enter some HTML into it
3) Go to OPAC and loggin
4) Check you see the HTML in opac-user.pl
5) Disable the preference
6) Check you dont see the HTML anymore

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit d5c501bf63f9d42bc9d872eef391c0864753c8ba)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0f75bffeeb7d6518a707dc800e7d12091946706b)

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt