Bug 41170

Summary: HIghlight previously edited item on add items page
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: CatalogingAssignee: Nick Clemens (kidclamp) <nick>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: bywater, karie.straube, lisette, m.de.rooy, rpalermo
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31323
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 41170: Highlight previously edited item on add items page
Bug 41170: Highlight previously edited item on add items page
Bug 41170: (follow-up) Correct a CSS selector and adjust colors

Description Nick Clemens (kidclamp) 2025-11-03 12:41:49 UTC
Bug 31323 fixed the highlighting of an item remaining after the item was saved, however, some libraries found this useful for viewing the item after editing to confirm values.
Comment 1 Nick Clemens (kidclamp) 2025-11-03 13:22:35 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2025-11-06 17:21:46 UTC
Created attachment 189190 [details] [review]
Bug 41170: Highlight previously edited item on add items page

Some libraries find it useful to have the item that was just
edited/saved visible in the items list

To test:
0 - Apply patch
1 - Edit an item, confirm the itme is highlighted yellow with title
    'Currently editing' (Hover to see the title)
2 - Save the item
3 - Confirm item is now highlighted light blue with title 'Previously
    edited'
4 - Sign off

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Owen Leonard 2025-11-06 17:21:48 UTC
Created attachment 189191 [details] [review]
Bug 41170: (follow-up) Correct a CSS selector and adjust colors

This patch updates the table cell selector so that the
"previous" class isn't overwritte, and updates the "active" and
"previous" classes so that they use standard Bootstrap colors.
Comment 4 Lisette Scheer 2025-12-12 15:49:34 UTC
Adding a see also to Bug 31323 as before this some libraries were using that highlight as an expected indicator of the most recently edited item.