Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart b387502eaf Bug 8976: Add the ability to sort subfields for the MARC frameworks
This new enhancement adds the ability to change the default order the subfields.

Both bibliographic and authority MARC subfield structure are taken into
account. And so the item edition as well (in the different screens when
item can be added/edited).

This will answer the following needs that have been listed in the
comments of the bug report:
- $i in 7xx fields should be the first subfield in the sequence
- 300 fields are sorted number first when cataloguers enter the letter fields first
- 100 field, it's commonly $a, $q, $d.

Test plan:
1. Edit a MARC frameworks, field 300
2. Resort the subfield (drag and drop the tab of the subfield) as you
like
3. Save
=> Notice that the list of fields are displayed following the order you
chose
4. Edit it again
=> The order is correctly kept!
5. Create a new bibliographic record
6. Notice that the subfields are order in the same sequence
7. Fill different subfields, not all
8. Save, edit again
9. Note that the subfields that have been filled are listed first, then
the empty ones. But the sequence defined at the framework level is kept.
10. Do the same for an authority framework and create/edit an authority
record
11. Modify item (952) subfields order
12. Create an item and confirm that the order is correct
13. Modify the ACQ framework, 952, modify the order of the subfield
14. Create a new order and confirm that the item form has the subfield
ordered following the sequence defined at the framework level

QA: Note that this patch is about bibliographic records only, next
patches deal with authotiries and items.

Sponsored-by: Orex Digital

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-03-01 15:14:22 +01:00
..
acqui Bug 25777: Disable misleading datatables table information display z3950 2021-03-01 11:28:03 +01:00
admin Bug 8976: Add the ability to sort subfields for the MARC frameworks 2021-03-01 15:14:22 +01:00
authorities Bug 27471: Change auth merge success link text and don't redirect 2021-01-27 10:45:54 +01:00
basket Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
batch
catalogue Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
cataloguing Bug 25777: Disable misleading datatables table information display z3950 2021-03-01 11:28:03 +01:00
circ Bug 27706: (bug 24488 follow-up) Fix libraries column filter 2021-02-16 10:22:13 +01:00
clubs Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
common Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00
course_reserves Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
errors
ill Bug 25614: Move ILL request keyword filter to sidebar 2021-01-27 10:45:54 +01:00
installer Bug 24973: Load custom localization file 2020-08-24 12:10:53 +02:00
labels Bug 27404: update labels/label-edit-range.tt for ACC2 2021-02-08 16:12:42 +01:00
mana
members Bug 27605: (follow-up) Make the feature work with Bug 27403 2021-02-09 09:23:55 +01:00
offline_circ Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00
onboarding Bug 26449: fix web installer typo 2020-10-08 11:36:32 +02:00
patron_lists Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
patroncards Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
plugins Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
pos Bug 26274: Update register.tt to use the API 2021-02-12 12:33:41 +01:00
reports Bug 27380: Add 'list' option to Koha report parameters 2021-02-12 12:22:08 +01:00
reserve Bug 27071: (follow-up) Provide a more meaningful error message 2021-03-01 09:56:19 +01:00
reviews Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
rotating_collections Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
serials Bug 27332: Hide branchcode and note is RenewSerialAddsSuggestion if off 2021-02-23 13:16:07 +01:00
services
suggestion Bug 27608: Corrects 'accepted by' inconsistency in suggestion.tt 2021-02-08 14:56:00 +01:00
tags Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
test
tools Bug 27694: use HTML filtering on News Tool textarea 2021-02-18 11:53:18 +01:00
virtualshelves Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
about.tt Bug 27661: Use td.bg-success for ES and memcached as well 2021-02-23 13:16:07 +01:00
auth.tt Bug 18506: (QA follow-up) Indentation and more conditionals 2021-02-09 09:48:35 +01:00
intranet-main.tt Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00