[Bug 3116] ISBD parsing does not preserve subfield order
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3116 Pongtawat <pongtawat@punsarn.asia> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pongtawat@punsarn.asia --- Comment #3 from Pongtawat <pongtawat@punsarn.asia> --- I made a patch that add an option "all" to the field list that will show all subfields in order as they appeared in the record, separated by specified separator. Test 1. Add a MARC record with 650 with some subfields, says a z x a 2. Assume the ISBD preference define template for 650 as follows: #650|<br/><br/><label>Subjects--Topical Terms: </label>|{\n6503 }{\n650a}{ 650b }{ 650c }{ 650d }{ 650e }{--650x}{--650z}{--650y}{--650v}| 3. Go to ISBD tab, it will show: Subjects--Topical Terms: a--a--x--z 4. Apply patch 5. Go to ISBD tab, it will show the same result as in 3. 6. Change ISBD template for 650 to #650|<br/><br/><label>Subjects--Topical Terms: </label>|all--| 7. Go to ISBD tab, it will show: Subjects--Topical Terms: a--z--x--a Separator can be changed to something else, just put it after "all" (Patch tested on 16.11) -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org