[Koha-bugs] [Bug 29523] Add a way to prevent embedding objects that should not be allowed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 23 15:02:19 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29523
--- Comment #93 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
I have a use case on bug 33568 where I need at least the library of the patron,
to display "a patron from LIBRARY".
Bug 29275 has the same problem I think:
+ if ( row.patron != null ) {
+ return $patron_to_html( row.patron, {
display_cardnumber: true, url: true } );
+ }
+ else {
+ return _("A patron from library
%s").format(escape_str(row.library.name));
+ }
We need patron.library.name here, not library.name
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list