Bug 40285

Summary: Add template plugin to get patron attribute by code
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lisette
Version: Main   
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 Owen Leonard 2025-07-01 14:45:11 UTC
We have template plugins for getting descriptions of things like item types, collection codes, and patron categories:

[% AuthorisedValues.GetByCode('Bsort1', loopfilte.filter ) | html %]

It would be useful to have the same thing for getting a patron attribute's description by the code. Something like:

[% ExtendedAttributeTypes.GetName( attribute_code ) %]

This could be used on a page like moremember.pl:

**Additional attributes and identifiers**
- [Attribute description]: [Attribute value]