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:21:59 +0000 (12:21 -0500)
commit5e5329aaf55f8a67e4ee2b88c5f8c222459fa75a
tree3630676af3b44b528b83fa4a23b9bb5fa42ead85
parent4be8e6ae711ec7439f0ef8ad9f135af6a91591c8
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