https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19131
Bug ID: 19131
Summary: Script marc_subfields_structure ignores add/edit when
liblibrarian is empty
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: MARC Bibliographic data support
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Around saving new or changed records in admin/marc_subfields_structure we have
this construction:
if (defined($liblibrarian) && $liblibrarian ne "") {
my $is_demo = C4::Context->config('demo') || '';
if ( $is_demo ne '1' ) {
So if you have no liblibrarian text or demo is set, your changes are lost.
We could do better than that !
Note that the demo config variable is only used a couple of times in Koha in
the context of changing biblio or auth fields and subfields. Do we need it ?
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/