]> git.koha-community.org Git - koha.git/commit
Bug 22690: Remove uneeded return and add no_triggers
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Aug 2021 12:34:00 +0000 (14:34 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Aug 2021 13:28:23 +0000 (15:28 +0200)
commit46a13422264bf35560d032550c05574879d927fc
treeb74ef422ad3cd351a306f65d1f50cc43afa10057
parentd21f626e8067b028897c6c0d7e2d9fa99a7a36e0
Bug 22690: Remove uneeded return and add no_triggers

* C4/Items.pm
  - Koha::Biblios not used

* Koha/Item.pm
  - Koha::Item->orders must return an empty set if no order attached
  - no_triggers should be passed to other update calls

* Item.t
  - No need to build a fund
  - Add new test to test Koha::Item->orders when no order attached

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Items.pm
Koha/Item.pm
t/db_dependent/Koha/Item.t