Bug 40492 - Improvements to the pending offline circulation actions table
Summary: Improvements to the pending offline circulation actions table
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Emily Lamancusa (emlam)
QA Contact: Testopia
URL:
Keywords:
: 40494 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-07-24 12:50 UTC by Emily Lamancusa (emlam)
Modified: 2025-07-25 16:31 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Sample KOC file (163 bytes, text/plain)
2025-07-24 14:23 UTC, Emily Lamancusa (emlam)
Details
Bug 40492: Offline circ - link to item details and open link in new tab (3.21 KB, patch)
2025-07-24 14:39 UTC, Emily Lamancusa (emlam)
Details | Diff | Splinter Review
Sample KOC file (163 bytes, text/plain)
2025-07-24 15:34 UTC, Emily Lamancusa (emlam)
Details
Bug 40492: Improvements to offline circ actions table (6.22 KB, patch)
2025-07-24 18:32 UTC, Emily Lamancusa (emlam)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Emily Lamancusa (emlam) 2025-07-24 12:50:19 UTC
In the pending offline circulation actions table, the barcode links to the biblio record, but it would be more helpful if it linked to the item details of the specific item.
Comment 1 Emily Lamancusa (emlam) 2025-07-24 14:23:22 UTC Comment hidden (obsolete)
Comment 2 Emily Lamancusa (emlam) 2025-07-24 14:39:21 UTC Comment hidden (obsolete)
Comment 3 Emily Lamancusa (emlam) 2025-07-24 15:32:42 UTC
It occurs to me that 40492 and 40494 are related enough and small enough that they should really be the same bug... I'll update the patch here to include both changes and mark the other bug as a duplicate.
Comment 4 Emily Lamancusa (emlam) 2025-07-24 15:32:59 UTC
*** Bug 40494 has been marked as a duplicate of this bug. ***
Comment 5 Emily Lamancusa (emlam) 2025-07-24 15:34:36 UTC
Created attachment 184597 [details]
Sample KOC file
Comment 6 Emily Lamancusa (emlam) 2025-07-24 18:32:13 UTC
Created attachment 184601 [details] [review]
Bug 40492: Improvements to offline circ actions table

Update the pending offline circulation actions page to link each item
barcode directly to the item details, rather than the biblio record, and
open the links in a new tab.

Add a column to show the last seen date of the items being processed,
with a warning if the item's last seen date is more recent than the
offline circulation action date.

To test:
1. Upload a Koha Offline Circulation (koc) file
   (the file attached to this bug can be used if you are using a
   sandbox or KTD with the standard sample data)
   i. Go to Circulation > Upload offline circulation file
   ii. Upload the file
   iii. Click "Add to offline circulation queue"
2. Go to Circulation > Pending offline circulation actions
3. Click on the item barcodes in the table
--> Note that each barcode links to the biblio record, and navigates
    away from the page within the same tab.
4. Apply patch and restart_all
5. Return to (or refresh) the pending offline circulation actions page
   and click on the item barcodes again
--> The barcodes now open the item details page in a new tab
--> There is a new column for the item last seen date
6. Without processing the offline circulation actions, check in one of
   the items listed in the table
7. Return to the Pending offline circulation actions page
--> Confirm that the last seen date of the item you just checked in is
    highlighted in red with a warning icon, since its last seen date is
    newer than the offline transaction date
8. Hover over the warning icon
--> Confirm that a tooltip appears with an explanation of why the date
    is in red