https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31498
--- Comment #4 from Lucas Gass <[email protected]> --- (In reply to dgarr from comment #3) > I've been trying to add new values in primary_contact_method as well. I > finally added some in JQuery: > var myOptions = { > val1 : 'Check', > val2 : 'Call' > }; > var mySelect = $('#primary_contact_method'); > $.each(myOptions, function(val, text) { > mySelect.append( > $('<option></option>').val(val).html(text) > ); > }); > Unfortunately, these appear to be display-only, and not have any real value > (they don't apply when the page is saved). Anyone have any insight? There > has to be a work-around somewhere. The problem here is when you re-open the patron form to edit you cannot retrieve the custom value and it will be overwritten. Unfortunately you cannot currently retrieve the value from the REST API either. See Bug 28701. The best way forward is likely this enhancement request. -- 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/
