https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383

--- Comment #29 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 209562
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209562&action=edit
Bug 42383: Remove legacy returns.pl, wire checkin.pl

Retires the legacy circ/returns.pl checkin page in favour of the new
Vue circ/checkin.pl, and repoints every entry point to it:

* circ-nav.inc, checkin-search-box.inc, circulation-home.tt,
  staff-global.js: 'Check in' links/search now target checkin.pl
* ILL SupplyingResource.vue: checkin action targets checkin.pl
* circ/returns.pl and circ/returns.tt are removed
* Main.vue honours a ?barcode= deep-link query param so links carried
  over from returns.pl keep working (auto-submits the checkin)
* basic_workflow.t selenium flow updated to the new page

The transfers-to-receive page keeps its bug 42443 AJAX DataTable
implementation (it already cancels transfers through the REST API and
never linked to returns.pl), so its 42383-era changes are not needed.

Test plan:
1. Apply patch
2. Run:
   $ ktd --shell
  k$ yarn build
=> SUCCESS: rspack compiles
3. From the circ home, nav sidebar, and header search 'Check in',
   confirm they all open circ/checkin.pl
4. Visit /cgi-bin/koha/circ/checkin.pl?barcode=<known barcode>
=> SUCCESS: the item is checked in automatically
5. Sign off :-D

Assisted-by: Sonnet 4.6 (Anthropic)
Signed-off-by: Brendan Lawlor <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to