[Koha-bugs] [Bug 31498] Allow for custom primary contact method values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 24 02:54:06 CET 2023


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

dgarr at cityoflewiston.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dgarr at cityoflewiston.org

--- Comment #3 from dgarr at cityoflewiston.org ---
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.

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