]> git.koha-community.org Git - koha.git/commit
Bug 16424: Add framework support to advanced MARC editor
authorEre Maijala <ere.maijala@helsinki.fi>
Sun, 16 Sep 2018 18:37:06 +0000 (21:37 +0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 28 Sep 2018 19:01:50 +0000 (19:01 +0000)
commit75b5ce2a317dad5307d2490c2d2f16e3e3bc3e29
tree663377a09a0d9467f248b4e75505c1874190c978
parentd52c88a233680412fb44dea9f6b5e9c29fe43841
Bug 16424: Add framework support to advanced MARC editor

Keeps the selected framework, allows selecting another and validates the record using the correct framework. Contains additional minor tweaks to display proper error messages.

To test:
1. Add a record with a non-default framework in the basic editor.
2. Switch to advanced editor and make sure the settings menu displays the correct framework.
3. Save the record and confirm that the framework code did not change.
4. Change the framework and save the record again.
5. Verify that the framework code changed.
6. Change one framework to make an extra field mandatory.
7. Make sure that the field is required in the editor when the framework above is selected but not when another framework is selected.

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
cataloguing/editor.pl
koha-tmpl/intranet-tmpl/lib/koha/cateditor/koha-backend.js
koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js
koha-tmpl/intranet-tmpl/prog/css/cateditor.css
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt
svc/bib
svc/bib_framework [new file with mode: 0755]