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?
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.
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?
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.
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.
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.