Koha/circ
Jonathan Druart aceb2eead5 Bug 19899: Restore Item floats feature - do not crash
Error is "The method noreturn is not covered by tests!"
caused by commit 6eade474ed
Bug 18276: Remove GetBiblioFromItemNumber - Easy ones

When the "Return policy" (var returnbranch) is set to "Item floats" (value noreturn)
the library must be the current library (from userenv).
This behaviour is used in C4::Circulation::AddReturn

On bug 18276 I assumed that the value was either holdingbranch or
homebranch, and forgot it could be "noreturn"

Test plan:
Set Return policy to Item floats
Check an item in
=> without this patch it explodes
=> With this patch applied it will check the item in

Signed-off-by: Mohd Hafiz Yusoff <mhby87@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-01-08 14:23:36 -03:00
..
add_message.pl
article-request-slip.pl
article-requests.pl
bookcount.pl
branchoverdues.pl Bug 10021: Drop columns notify_id and notify_level from accountlines 2017-12-11 11:34:18 -03:00
branchtransfers.pl Bug 19059: Fix compilation issues 2017-09-12 12:42:59 -03:00
circulation-home.pl
circulation.pl Bug 19493: Remove few warnings from circulation.pl 2017-10-27 14:09:03 -03:00
del_message.pl
hold-transfer-slip.pl
offline-mf.pl
offline.pl
on-site_checkouts.pl
overdue.pl Bug 19438: Fix sorting by date due in overdues.pl 2017-10-13 13:58:04 -03:00
pendingreserves.pl
renew.pl
request-article.pl
reserveratios.pl Bug 15685: Avoid "Use of uninitialized value" warning in logs 2017-10-11 13:08:47 -03:00
returns.pl Bug 19899: Restore Item floats feature - do not crash 2018-01-08 14:23:36 -03:00
selectbranchprinter.pl
transfer-slip.pl
transferstoreceive.pl
view_holdsqueue.pl
waitingreserves.pl Bug 19494: Add reservedate to Holds awaiting pickup 2017-12-22 13:15:37 -03:00
ypattrodue-attr-search-authvalue.pl
ysearch.pl