http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8629 Priority: P5 - low Change sponsored?: --- Bug ID: 8629 Assignee: koha-bugs@lists.koha-community.org Summary: update of statistics fields on fund selection in order creation/edition Severity: normal Classification: Unclassified OS: All Reporter: fridolyn.somers@biblibre.com Hardware: All Status: NEW Version: master Component: Acquisitions Product: Koha In 'neworderempty' and 'addorederis2709', changing fund will call the ajax function 'fetchSortDropbox' (acq.js). If fund selected has a defined authorized value for statistic field 'sort1', a combo-box is displayed for this field (idem for sort2). Bug is that when switching from a found with authorized value to one without authorized value, statistic field is an empty combo-box instead of a free text input. Also, permission on fetch_sort_dropbox.pl was 'edit_catalogue'. I set it to 'order_manage', the same has 'neworderempty.pl' and 'addorederis2709.pl'. I added a behavior : when statistic field is already a free text input and fund selected is without authorized value, the field is not modified to preserve its value. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.