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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to