[Koha-bugs] [Bug 17499] Koha objects for messaging preferences

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 29 14:34:40 CEST 2017


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

Marc Véron <veron at veron.ch> changed:

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

--- Comment #25 from Marc Véron <veron at veron.ch> ---
Created attachment 63808
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63808&action=edit
Bug 17499: Simplify searching by message_name

This patch adds optional search & find parameter message_name for
Koha::Patron::Message::Preferences->search and ->find. This simplifies object
usage by allowing us to skip joins or finding the attribute id ourselves.

prove -v t/db_dependent/Koha/Patron/Message/Preferences.t turns green
Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list