LP#1728122 Webstaff survey display avoids deep fleshing rel_2_12_4
authorBill Erickson <berickxx@gmail.com>
Mon, 30 Oct 2017 15:36:29 +0000 (11:36 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 24 Nov 2017 18:03:53 +0000 (13:03 -0500)
commit70b2021f967d827e7d2b93605c8e432952786f7b
tree45de8a5048f5aa03dde593e89b24aba79a4a3c8d
parentdc8a0dee3a7ff82bb5edb3bffc249aa18c7c3340
LP#1728122 Webstaff survey display avoids deep fleshing

Avoid collecting survey/question/answer data via deep pcrud fleshing.
Opt instead to organize the data locally using the values fleshed
directly on the response object.

Additional fixes included:

1. Avoid displaying survey responses for out-of-scope surveys.
2. Format survey response dates using the configured date format instead
   of display a bare ISO date.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/circ/patron/t_surveys.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/app.js