Bug 26219

Summary: "Display in OPAC" option not working for patron attributes
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26119
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2020-08-15 08:29:13 UTC
When adding patron attributes, there is an option:

 Check to display this attribute on a patron's details page in the OPAC.

But when checked, the option will still not show up :(
Comment 1 Jonathan Druart 2020-08-17 15:08:45 UTC
I see the value displayed at the bottom of the page /cgi-bin/koha/opac-memberentry.pl

Can you give more detail?

1. Enable ExtendedPatronAttributes
2. Create a new patron's attribute and tick "display at the OPAC"
3. Edit the patron, set a value for the new attribute
4. At the OPAC login with the patron, go to "Your personal details", scroll down
Comment 2 Katrin Fischer 2020-08-17 16:40:06 UTC
I will retest... :(
Comment 3 Katrin Fischer 2020-10-17 16:44:16 UTC
Ok, the problem is that the attributes will only show when a value has been set or when they are also "editable". I think that's probably the intended behaviour, so closing.