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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
        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.
_______________________________________________
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/

Reply via email to