LP#1728122 Webstaff survey display avoids deep fleshing
authorBill Erickson <berickxx@gmail.com>
Mon, 30 Oct 2017 15:36:29 +0000 (11:36 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 7 Nov 2017 17:23:37 +0000 (12:23 -0500)
commit937eb0c692a9cdcf3f0d3cc64b84d06ca659bb50
tree981beecea91b9e8fb015033c9e9ba45e815051b6
parentf4c1c11c69f2409211a85082c02a470eb1c7c807
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