]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1758360: handle DOB display logic in egPatronSummary correctly user/gmcharlt/lp1758360_respect_obscure_dob
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 23 Mar 2018 18:48:02 +0000 (14:48 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 23 Mar 2018 18:51:55 +0000 (14:51 -0400)
commit971bb67539ab188e4b3fb9c7a714781acaeaf4d3
tree713598688d0dd662734dbd3b44acb82eb3b45366
parentef25453cd7e1f6b46728f8cfee17ba44a1b9955f
LP#1758360: handle DOB display logic in egPatronSummary correctly

This patch ensures that the patron DOB will be displayed or
obscured correctly by the standalone egPatronSummary directive
in the same way that the patron app does.

To test
-------
[1] In the web staff client, do a patron search, select two patrons,
    then click the Merge Patrons button.
[2] Note that the patron DOB is not displayed in the modal.
[3] Apply the patch and repeat step #1.
[4] This time, the patron DOB will be displayed (if the
    circ.obscure_dob library setting is not enabled) or the
    the field label will be clickable (and clicking it will
    cause the DOB to be displayed).

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/services/patrons.js