[Koha-bugs] [Bug 25910] New: Two blank values in authorised value category selection in marc frameworks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 1 21:05:30 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25910

            Bug ID: 25910
           Summary: Two blank values in authorised value category
                    selection in marc frameworks
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

When selecting the authorised value for a marc subfield in the frameworks:

admin/marc_subfields_structure.pl

There are two blank values at the top of the dropdown

One comes from the template:
179                                 <label for="authorised_value[% loo.row |
html %]">Authorized value:</label>
180                                 <select name="authorised_value"
id="authorised_value[% loo.row | html %]" size="1"    >
181                                 <option value=""></option>
182                                 [% FOREACH value IN loo.authorised_values
%]
183                                     [% IF ( value == loo.authorised_value )
%]


And another comes from the db because we add a blank category by default (bug
17216) installer/data/mysql/mandatory/auth_val_cat.sql
  1 INSERT IGNORE INTO authorised_value_categories( category_name, is_system )
  2     VALUES
  3     ('', 1), 
  4     ('Asort1', 1),
  5     ('Asort2', 1),

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list