Bug 33741 - Patron attribute IDs should match code
Summary: Patron attribute IDs should match code
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-15 21:12 UTC by Christopher Brannon
Modified: 2023-05-15 21:12 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.