[Koha-bugs] [Bug 31214] New: Regression: subfield code editable in MARC framework editor
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 21 20:22:04 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31214
Bug ID: 31214
Summary: Regression: subfield code editable in MARC framework
editor
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: System Administration
Assignee: koha-bugs at lists.koha-community.org
Reporter: joonas.kylmala at iki.fi
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
Depends on: 5917
The Subfield code field is incorrectly editable in the MARC framework subfield
configuration page, on e.g. on the page
http://localhost:8081/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=003&frameworkcode=
This is an regression from bug 5917 – When converting the old templating syntax
to Template toolkit syntax some of the code was missed and the old syntax was
left in the codebase. In marc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt the
following line should be fixed:
> [% IF ( subfieldcode == 0 || subfieldcode ) %]
it should be
> [% IF ( loo.subfieldcode == 0 || loo.subfieldcode ) %]
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5917
[Bug 5917] Switch Koha to use Template::Toolkit
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list