]> git.koha-community.org Git - koha.git/commit
Bug 25826: Forbid changing the hidden attributes for biblionumber
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Jul 2020 15:18:36 +0000 (12:18 -0300)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Wed, 13 Jan 2021 21:59:41 +0000 (21:59 +0000)
commit155b2f65e04c2b3b8e9120308ee6603d44a9c01e
tree0d8690e29c3ebab21d3ecead2c338346ee9ad536
parent6b8748248b6ef27783a222bbed83da9e5207fd7a
Bug 25826: Forbid changing the hidden attributes for biblionumber

This patch tweaks the UI so it forbids changing the hidden values when
they are correct (i.e. when they are not hidden in OPAC and intranet).

To test:
1. Apply the first patch
2. Play with the hidden values of the subfield you have mapped to
   biblio.biblionumber in your picked framework. This is usually 999$c
   in MARC21, and 001 in UNIMARC.
=> SUCCESS: When you verify the about.pl, it mentions issues when you
hide in some of the interfaces
3. Apply this patch and reload everything
4. Repeat 2
=> SUCCESS: If your framework is 'ok', it prevents you from editing this
values, otherwise you can change them.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
admin/marc_subfields_structure.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt
koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js