]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1758360: handle DOB display logic in egPatronSummary correctly
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 23 Mar 2018 18:48:02 +0000 (14:48 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 30 Apr 2018 15:21:17 +0000 (11:21 -0400)
commitfd816b593636f7cd94da025f3685a7f88c167f08
tree862706e84907b662ccdbb34a2579e2eebb4b9ac2
parent1d3f99debbaab3f0a85a9ee14294853d13baac25
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>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/circ/services/patrons.js