Bug 25836

Summary: MARC fields not able to be reordered in basic editor
Product: Koha Reporter: Donna <bwsdonna>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: esther.melander, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Inconsistent move icons

Description Donna 2020-06-21 18:28:50 UTC
From bug 7882, it seems that MARC fields should be able to be reordered, however it does not appear to be working.

For instance, if I have a record with 3 650 fields and 2 651 fields, I cannot move the 651 fields above the 650 fields.  I can rearrange the 650 fields amongst themselves, but that's it.

The move icon/hamburger shows on all fields, which leads one to think that all fields can be reordered, when this is clearly not the case.
Comment 1 Katrin Fischer 2020-06-21 18:35:49 UTC
Hi Donna, you can reorder repeated fields (same number) and the subfields of each field, but not fields of different numbers. It's in the comment here:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7882#c64

Maybe we should turn this into an enhancement request?
Comment 2 Katrin Fischer 2023-12-09 15:19:38 UTC
I wonder if we should really be able to do this and if it would persist after saving.
Comment 3 Esther Melander 2024-06-21 16:42:46 UTC
Created attachment 167973 [details]
Inconsistent move icons

While looking at a record, I could see move icons on some fields and not others. With the 2XX fields, clicking on the move icon to move a field fails. The move icons seem to indicate the fields can be reordered, but they actually can't. Should these fields be reorderable? It makes sense for the subfields to be reorderable on certain tags, but I'm not sure about the primary fields.
Comment 4 Esther Melander 2024-06-21 16:46:06 UTC
I can see if certain fields are duplicated, the fields can be reordered within the same "field group". I wonder if something dynamic should be happening. For example, the move icons should only appear if a duplicated field is present. Though I can see that getting very complicated.