Bug 31323 - Edit item highlighting problem
Summary: Edit item highlighting problem
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-08 21:40 UTC by Lucas Gass (lukeg)
Modified: 2025-04-03 13:24 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2022-08-08 21:40:05 UTC
To reproduce:

1 search the catalog
2 find a record with 1 item
3 click the edit button in the item table (to the right of Spine Label)
4 when I click "save changes" the item is still highlighted yellow


It appears like the '.active' class is lingering. I think this might be caused by Bug 27526?
Comment 1 Andrew Fuerste-Henry 2025-04-03 12:36:45 UTC
From Lucas's description it sounds like this used to only apply to edits to records with only 1 item. Currently I'm also seeing this behavior on records with multiple items.
Comment 2 Sarah Cornell 2025-04-03 13:24:50 UTC
This highlighting behavior is very confusing to staff. It causes them to accidentally create new items when they think they're editing an existing item.  The js that Lucas put in our system in 2022 when we discovered this has started to cause other cascading problems so I'd like to bump this up to a community solution.  Thanks!