]> git.koha-community.org Git - koha.git/commit
Bug 18332: Add the Koha::Objects->last method
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 24 Mar 2017 01:03:19 +0000 (22:03 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 31 Mar 2017 11:20:54 +0000 (11:20 +0000)
commit712e67aa7efa032c35103dc90a7243361eebe568
tree3186705fb73dce5d0ea5693b3eeed3f34f53f688
parent0fcfc561adae216d630a7b770440e7d5c315dcd2
Bug 18332: Add the Koha::Objects->last method

DBIx::Class does not provide such method, but it can be handy in some
cases.

Test plan:
  prove t/db_dependent/Koha/Objects.t
should return green

Test returned green.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Objects.pm
t/db_dependent/Koha/Objects.t