Bug 18501: (follow-up) Add fallback to ItemHomeBranch
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 20 Aug 2020 13:02:35 +0000 (14:02 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 21 Aug 2020 09:51:20 +0000 (11:51 +0200)
commit7fe66325f0aa54aa3084941f8ed79af304b4acc3
treebb89a71ef7e1b09082be07a9c756caec6eca3f3d
parent80bef548750c3ae0ba9dee70f4d5833ef7cdd133
Bug 18501: (follow-up) Add fallback to ItemHomeBranch

When 'RefundLostOnReturnControl' is set to 'CheckinLibrary' but
return_branch is passed as undefined we should fallback to
'ItemHomeBranch' before falling back to the default rule.

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