https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40869
Bug ID: 40869
Summary: Preserve mandatory fields even if hidden when
duplicating item
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Staff interface
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
When item fields are mandatory, which usually indicate they are somehow
critical for functionality and expected to exist in Koha, it makes sense they
should be preserved when duplicating an item, even if the field is hidden.
Right now hidden fields are ignored using the "ignore_invisible_subfields"
option in the form builder for item. If for current library (holding branch) is
hidden (which is the case for our library), the biblio page will crash after
duplicating an item, which now has a missing holding branch. Fixing this is
simple by adding a check for the mandatory attribute in the check for
"ignore_invisible_subfields" (I also renamed this option to
"ignore_non_mandatory_invisible_subfields" for clarity.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/