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@lists.koha-community.org Reporter: n...@bywatersolutions.com QA Contact: testo...@bugs.koha-community.org CC: gmcha...@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. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/