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

            Bug ID: 35695
           Summary: Remove useless item group code from
                    cataloging_additem.js
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: lu...@bywatersolutions.com
        QA Contact: testo...@bugs.koha-community.org
                CC: m.de.r...@rijksmuseum.nl

As I worked on Bug 33639 I noticed some code in cataloging_additem.js that
doesn't work/isn't needed:

137     $('#item-group-add-or-create-form-select').on('change', function() {
138         if ( ! $('input.items-enumchron').val() ) {
139             let item_group_selector = '#item-group-' + $(this).val();
140             let enumchron = $(item_group_selector).val();
141             $('input.items-enumchron').val( enumchron );
142         }
143     });


The selectors are bad and it would be easy to make them work. But I don't see
any reason why item groups should be updating the items.enumchron field.

-- 
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/

Reply via email to