[Koha-bugs] [Bug 16965] Add the Koha::Objects->search_related method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 4 11:36:44 CEST 2016


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

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

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

--- Comment #17 from Marc Véron <veron at veron.ch> ---
Created attachment 56011
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56011&action=edit
Bug 16965: [Follow-up] Adjust get_object_class

In many cases it should be possible to derive the Koha::Objects class
name from the DBIx result class name in a trivial manner.
If not, the DBIx result class should have a class method called
koha_objects_class providing that non-trivial name, such as Libraries
for Branch.

Note: We are only interested in the plural form here (Koha::Objects).

Test plan:
Run t/db_dependent/Koha/Objects.t

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