[Koha-bugs] [Bug 7882] Add ability to move and reorder fields in MARC editor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 28 15:50:14 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7882

David Bourgault <david.bourgault at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.bourgault at inlibro.com
             Status|Failed QA                   |In Discussion

--- Comment #44 from David Bourgault <david.bourgault at inlibro.com> ---
>There's a more serious issue, however, which isn't caused by this patch but which would become more obvious with it -- if you open the record again in the editor, field order isn't maintained.  For example, if you construct your record so that subject headings are in the following order:
>
>650 $aElizabethan theatre
>600 $aShakespeare, William
>
>Then open it up again in the editor, the 600 will be displayed before the 650, even though the 650 field is stored first in the record.  This has the potential to be seriously confusing to users, and I feel that a patch that allows sorting of the fields in a user-specified order needs to be accompanied by work that makes the editor display existing fields in the order that they appear in the record.

This raises another question as to how to order the fields when loading a Marc
record.

Let [1,2,3,4] be the framework structure
Let [1,4,2] be the saved record

Currently we load on the framework structure order, giving us
1, 2, 3 (empty), 4
This does not respect the saved record order. But if we load according do the
saved record order, where should the empty tag (3) go?  Should we place it
before the saved record's fields or after? Or do some weird half-sorted
behavior?

before : [3 (empty), 1, 4, 2]
after  : [1, 4, 2, 3 (empty)]
weird  : [1, 3 (empty), 4, 2]

Let me know if my explanation isn't clear enough.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list