Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules
Aleisha Amohia ccb4180339
Bug 30944: Fix cancel recalls actions
This patch fixes the 'cancel selected recalls' button on the biblio
details Recalls page, and ensures a correct cancellation reason is
logged when cancelling a recall in transit.

To test:
1) Ensure UseRecalls is enabled and relevant recalls circulation rules
are set
2) Check out Item A to Patron B
3) Log into OPAC as Patron A
4) Search for Item A and place a recall
5) Go back to the staff interface and search for Item A. When viewing
the biblio record, go to the recalls tab.
6) Check the checkbox for your recall, and click the button to cancel
selected recalls.
7) Confirm your recall is successfully removed and you're redirected to
the correct recalls page for this biblio.
8) Go back to the OPAC and place a recall again. This time set the
pickup location to a different library, one that you're not logged in at
9) Back in the staff interface, check in Item A and confirm the recall
and transfer
10) Go to Circulation -> Recalls to pull. Your recall should show here.
Click the button to cancel the recall and revert the transfer
11) Confirm the recall has been cancelled
12) Go to Reports and create a new SQL report with the following SQL:
select * from branchtransfers b join items i on
b.itemnumber=i.itemnumber where i.barcode = <<barcode>>
13) Run the report and paste the barcode of Item A in the field
14) Confirm there are two rows returned - the transfer triggered when
the recall was confirmed, with a reason of 'Recall' and a cancellation
reason of 'RecallCancellation, and the transfer sending the item back
home when the recall was cancelled, with a reason of
'RecallCancellation'.

Sponsored-by: Catalyst IT

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-03 13:44:11 -03:00
..
clubs
errors
sci
sco Bug 31488: Update Max checkout text 2022-09-07 12:06:08 -07:00
svc
ilsdi.tt Bug 30944: Fix cancel recalls actions 2022-10-03 13:44:11 -03:00
maintenance.tt Bug 30733: Undo some <span> additions that don't yield good strings 2022-06-17 10:16:43 -03:00
opac-account-pay-error.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
opac-account.tt
opac-addbybiblionumber.tt Bug 30566: Incorporate link handling in OPAC's biblio-title include 2022-07-05 09:57:25 -03:00
opac-advsearch.tt Bug 30570: Replace the use of jQueryUI tabs in OPAC templates 2022-07-20 10:02:21 -03:00
opac-alert-subscribe.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
opac-auth-detail.tt Bug 29897: Don't display empty li 2022-08-09 10:58:49 -03:00
opac-auth-MARCdetail.tt
opac-auth.tt Bug 31064: Wrap local login with stylable element 2022-07-01 16:37:34 -03:00
opac-authorities-home.tt
opac-authoritiessearchresultlist.tt Bug 30740: Link to authorities 'used in' should not use equal 2022-05-16 11:20:09 -10:00
opac-basket.tt
opac-blocked.tt
opac-browse.tt
opac-browser.tt
opac-course-details.tt
opac-course-reserves.tt
opac-curbside-pickups.tt Bug 31265: (QA follow-up) Align time selection controls like other inputs 2022-08-09 13:32:05 -03:00
opac-detail.tt Bug 29144: (follow-up) Fix rebase issue related to bug 31313 2022-09-16 09:55:21 -03:00
opac-discharge.tt
opac-downloadcart.tt
opac-downloadshelf.tt
opac-full-serial-issues.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
opac-holdshistory.tt Bug 22456: (QA follow-up) Consider cancellation requested as cancelled in OPAC 2022-07-29 15:28:45 -03:00
opac-ics.tt Bug 30733: Undo <span> in an ICS calendar file 2022-06-17 10:16:42 -03:00
opac-idref.tt
opac-illrequests.tt
opac-imageviewer.tt Bug 30566: Incorporate link handling in OPAC's biblio-title include 2022-07-05 09:57:25 -03:00
opac-ISBDdetail.tt
opac-issue-note.tt
opac-library.tt Bug 29144: Use ->opac_info in opac-library template 2022-09-16 09:55:19 -03:00
opac-main.tt Bug 15326: Using AdditionalContents for custom pages on OPAC 2022-08-16 15:42:24 -03:00
opac-MARCdetail.tt
opac-memberentry-update-submitted.tt
opac-memberentry.tt Bug 31387: Fix othernames required label 2022-08-22 13:42:39 -03:00
opac-messaging.tt Bug 30484: Add ILL update notice 2022-09-23 09:18:45 -03:00
opac-mymessages.tt
opac-news-rss.tt
opac-opensearch.tt
opac-overdrive-search.tt Bug 31040: jsTree image being used outside of jsTree plugin 2022-07-05 09:18:20 -03:00
opac-page.tt Bug 15326: Using AdditionalContents for custom pages on OPAC 2022-08-16 15:42:24 -03:00
opac-passwd.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
opac-password-recovery.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
opac-patron-consent.tt
opac-privacy.tt
opac-readingrecord.tt Bug 29939: Use the REST API for ratings 2022-08-22 11:31:15 -03:00
opac-recall.tt Bug 30733: Split strings differently 2022-06-17 10:16:44 -03:00
opac-recalls.tt Bug 31146: Fix unclosed table element 2022-07-18 10:21:51 -03:00
opac-recordedbooks-search.tt Bug 31040: jsTree image being used outside of jsTree plugin 2022-07-05 09:18:20 -03:00
opac-registration-confirmation.tt
opac-registration-email-sent.tt
opac-registration-invalid.tt
opac-reportproblem.tt
opac-request-article.tt Bug 31294: Show "Required" label on mandatory fields 2022-08-16 14:32:21 -03:00
opac-reserve.tt Bug 15545: Remove reqholdnotes from opac-reserve 2022-09-26 11:00:52 -03:00
opac-reset-password.tt Bug 31483: Close <ol> tag properly on password reset page 2022-09-07 13:23:53 -07:00
opac-restrictedpage.tt
opac-results.tt Bug 31379: Change results per page text for default 2022-08-26 16:55:58 -03:00
opac-retrieve-file.tt
opac-review.tt
opac-routing-lists.tt
opac-search-history.tt Bug 30570: Replace the use of jQueryUI tabs in OPAC templates 2022-07-20 10:02:21 -03:00
opac-sendbasket.tt Bug 31316: (QA follow-up) Remove stray template close tag 2022-08-09 12:04:11 -03:00
opac-sendbasketform.tt
opac-sendshelf.tt Bug 31316: Remove GetItemsInfo from opac-sendbasket 2022-08-09 12:04:11 -03:00
opac-sendshelfform.tt
opac-serial-issues.tt Bug 30992: Improve translatability for 'for' 2022-08-05 11:52:50 -03:00
opac-shareshelf.tt
opac-shelves-rss.tt
opac-shelves.tt Bug 25498: (follow-up) Show error message when no sharee has email 2022-07-20 09:02:18 -03:00
opac-showmarc.tt
opac-showreviews-rss.tt
opac-showreviews.tt Bug 30566: Incorporate link handling in OPAC's biblio-title include 2022-07-05 09:57:25 -03:00
opac-suggestions.tt Bug 31605: Improve style of OPAC suggestions search form 2022-09-26 10:49:41 -03:00
opac-tags.tt Bug 30566: Incorporate link handling in OPAC's biblio-title include 2022-07-05 09:57:25 -03:00
opac-tags_subject.tt
opac-topissues.tt
opac-user.tt Bug 29939: Use the REST API for ratings 2022-08-22 11:31:15 -03:00