[Koha-bugs] [Bug 36371] New: Patron attributes will not show in brief info if value is 0
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 20 15:26:57 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36371
Bug ID: 36371
Summary: Patron attributes will not show in brief info if value
is 0
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrewfh at dubcolib.org
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com,
nick at bywatersolutions.com
A patron attribute will not show in the patron brief information if the value
for that attribute is 0. This presents an issue for attributes using the YES_NO
authorised value, which stores as 1/0.
To recreate:
1 - create a patron attribute: check "display in patron's brief info" and tie
to the YES_NO authorised value
2 - Find a patron, set your attribute to Yes
3 - Confirm you see the attribute and its value both in the "Additional
attributes and identifiers" section of the patron detail page and in the patron
brief info area
4 - Set your attribute to No
5 - Confirm you see the attribute and its value in "Additional attributes and
identifiers" but it no longer shows in the brief info
6 - Edit your YES_NO authorised value so the codes are Y for Yes and N for No
7 - Find a new patron, repeat steps 2-5, confirm that your No value does show
in brief info when the code is N rather than 0
--
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