Summary: | Printing transfer slips from circ/returns.pl doesn't set focus properly ( 24.05.x and below ) | ||
---|---|---|---|
Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
Component: | Circulation | Assignee: | Lucas Gass (lukeg) <lucas> |
Status: | Needs documenting --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | chughesman, fridolin.somers, gmcharlt, kyle.m.hall, nick |
Version: | 24.05 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
24.05.05
|
|
Circulation function: | |||
Bug Depends on: | 34478 | ||
Bug Blocks: | |||
Attachments: | Bug 38199: [24.05.x] Add back missing print class |
Description
Lucas Gass (lukeg)
2024-10-17 23:40:53 UTC
This fix we just need to add the print class, I think. Created attachment 172937 [details] [review] Bug 38199: [24.05.x] Add back missing print class To test: 1. Find an item to checkout that doesn't belong to the branch you are logged in at. 2. Check the item out. 3. Go to Circulation > Check in 4. Using the check in input in the main area ("Check in"), check the item in 5. A modal should appear, "Please return this item to {branch}" 6. Click "Print slip" 7. Deal with the browsers print dialouge. ( print, cancel, or save should work for testing) 8. After the modal closes focus is not brought back to the barcode field. 9. Check the item in again, this should trigger the "Wrong transfer detected, please return item to: {branch}" modal. 10. Click "Print transfer slip", here the modal closes and properly gives focus to the #barcode input. 11. APPLY PATCH, clear browser cache. 12. Try all the steps again, each time focus should be restored to the #barcode input Backported to 24.05.x for upcoming 24.05.05 |