[Koha-bugs] [Bug 15635] Move the patron images related code to Koha::Patron::Images

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 16 15:26:53 CET 2016


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

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #48116|0                           |1
        is obsolete|                            |

--- Comment #20 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 48139
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48139&action=edit
Bug 15635: Koha::Patron::Images - Remove GetPatronImage

To retrieve a patron image, we can call Koha::Patron::Images->find or
Koha::Patrons->find->image
Both will return a Koha::Patron::Image object.

Test plan:
1/ From the patron/member module, open all tabs on the left (Checkouts,
detail, fines, etc.)
The image should be correctly displayed.
2/ At the OPAC, on the patron details page (opac-memberentry.pl) the
image should be displayed as well.
3/ Same on the sco module.

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

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


More information about the Koha-bugs mailing list