Bug 36320 - Clicking Edit items from catalogue/detail.pl leads to 'Add item' screen
Summary: Clicking Edit items from catalogue/detail.pl leads to 'Add item' screen
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal with 10 votes (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 14:20 UTC by Lucas Gass
Modified: 2024-03-15 20:19 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass 2024-03-14 14:20:49 UTC
To recreate:


1. Find a record with more than 1 items attached. 
2. From catalogue/detail.pl click the 'Edit' button in the toolbar to activate the dropdown. 
3. Click 'Edit items'. 
4. This cannot direct the user to any particular item to edit because Koha doesn't know which item you want to edit at this point. 

If there is a single item this should direct the user straight to an 'Edit item'. If a record has many items maybe a blank screen ( no Add Item ) would be less confusing?
Comment 1 Andrew Fuerste-Henry 2024-03-14 16:36:35 UTC
This behavior is so long-standing that I'm a little hesitant to change it. But on the other hand I've definitely trained librarians to ignore the "Edit items" button exactly because the behavior is not what one might want/expect.

I agree that for a bib with just 1 item, it makes sense to assume a click on "Edit items" should edit the one available item.

A blank screen when one clicks Edit Items on a record with multiple items makes sense to me. The change might be disruptive.
Comment 2 Katrin Fischer 2024-03-14 22:07:21 UTC
Some ideas:

* Should we remove "Edit items" from the Edit pull down, as it doesn't work as expected?
* Should we rename it "Manage items" or similar?

Koha bringing up the empty item form leads to confusion practically every training we do. I think an empty page with a button for new item would make a lot of sense in some scenarios. If you explicitly click "Add item" we could still bring up the form maybe?
Comment 3 Juliet Heltibridle 2024-03-15 16:19:57 UTC
I like the idea of changing it to "Manage items" and replacing the Add items form at the bottom with a button to add an item. I use this page for a few tasks, like duplicating an item, or editing items individually one after another instead of in a batch.

Our system also has holdings on the normal view page split so other library holdings don't show in the first tab, and going to the "edit item" screen gives me a table with everyone's items, so I can see them together if needed.

It looks like I could do the same things by using the Add item drop-down, so I wouldn't be opposed to getting rid of the "edit items" drop-down entirely, if that was the consensus.
Comment 4 Andrew Fuerste-Henry 2024-03-15 19:08:05 UTC
It's worth noting that one also ends up on the Add Item screen with a blank item form after each edit of a single item. Whatever we decide on here should also be applied to the post-edit landing page.
Comment 5 Kristi 2024-03-15 20:19:06 UTC
Re: I like the idea of changing it to "Manage items" and replacing the Add items form at the bottom with a button to add an item. I use this page for a few tasks, like duplicating an item, or editing items individually one after another instead of in a batch.

I also like the idea of Manage items. I would hesitate to add a button to click into to add items from that form since it would add another click to the workflow. One click to get to the Add item form is ideal. Maybe "add items" could be its own option in the dropdown.