Bug 33741

Summary: Patron attribute IDs should match code
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Christopher Brannon 2023-05-15 21:12:36 UTC
Currently patron attributes are given a random index number (in order of their creation).  This is not helpful if you are using jQuery modifications and changing things around on occasion.

If the attribute is given an ID that matches the attribute code, it would make it much easier to identify the attribute selector in jQuery, and you don't run the risk of it changing on you if you eliminate or add another attribute.