Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ
Joonas Kylmälä fbef547832 Bug 25690: Remove double usage of 'Reserved' return value
The patch "Bug 19116: Hold not set to waiting after transfer" added a
new meaning to 'Reserved' return value of C4::Reserves::CheckReserves
function. Let's remove double usage and have separate Transferred
return value so we can differentiate between attached and non-attached
holds. This will come useful in future refactorings.

This patch does no changes to the logic except in the
/cgi-bin/koha/circ/branchtransfers.pl and circulation.pl we now give
similarly to waiting state notice about hold being transferred.

To test:
   1) Apply this patch
   2) Create a new item level hold so that pickup library is different
   than where the item is currently. Then return the item so that hold
   is being attached and transferred.
   3) Go to branchtransfers.pl and try to create a new transfer: it
   should prompt you with message "Item is attached to a hold and
   being transferred for XXX" and provide you with option to cancel
   the hold or to ignore the transfer.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-03-04 16:18:42 +01:00
..
article-requests.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
bookcount.tt Bug 21449: Update two-column templates with Bootstrap grid: Circulation part 2 2019-01-30 11:59:40 +00:00
branchoverdues.tt Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
branchtransfers.tt Bug 25690: Remove double usage of 'Reserved' return value 2021-03-04 16:18:42 +01:00
checkout-notes.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
circulation-home.tt Bug 24201: (QA follow-up) Add 'and desk' to menus and title 2020-08-07 16:54:40 +02:00
circulation.tt Bug 25690: Remove double usage of 'Reserved' return value 2021-03-04 16:18:42 +01:00
circulation_batch_checkouts.tt Bug 25690: Remove double usage of 'Reserved' return value 2021-03-04 16:18:42 +01:00
offline-mf.tt Bug 23803: (follow-up) Remove additional references and file 2019-10-11 14:35:17 +01:00
offline.tt Bug 25765: Replace LoginBranchname and LoginBranchcode with use of Branches template plugin 2020-07-23 11:17:27 +02:00
on-site_checkouts.tt Bug 26323: Retrieve the correct values for LOST, DAMAGED, LOC and CCODE 2020-09-28 16:09:10 +02:00
overdue.tt Bug 8287: Improve "show checked out items" filter on the overdues report 2021-02-15 11:48:55 +01:00
pendingreserves.tt Bug 27803: Ensure publicationyear or copyrightdate shows in Holds to Pull 2021-03-03 11:57:51 +01:00
printslip.tt Bug 21526: (follow-up) Use the 'url' filter when needed 2018-11-12 16:35:44 -03:00
renew.tt Bug 24083: Add support for unseen_renewals 2020-11-11 16:09:58 +01:00
request-article.tt Bug 26727: (follow-up) More markup corrections 2020-11-06 09:40:27 +01:00
reserveratios.tt Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
returns.tt Bug 24446: Catch daterequested in circ returns 2021-03-03 15:36:13 +01:00
set-library.tt Bug 24665: (QA follow-up) Fix selection default 2020-11-06 15:55:17 +01:00
transferstoreceive.tt Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
view_holdsqueue.tt Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
waitingreserves.tt Bug 26234: Teach our KohaTable constructor the specific th classes 2020-08-19 08:24:04 +02:00