[Koha-bugs] [Bug 26123] Show info about existing OPAC note/Patron message on patron's dashboard

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 8 08:37:27 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26123

Fridolin SOMERS <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fridolin.somers at biblibre.co
                   |                            |m

--- Comment #14 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Nice job.

Just my opinion :

Would be great to send Koha::Patron object to template.
So call in template [% patron.opacnote %].

Also add in Koha::Patron a method messages() to get :
Koha::Patron::Messages->search({borrowernumber => $borrowernumber})
Like it exists for checkouts, holds ...
So in template you just add [% patron.messages.count %]

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list