LP#1728122 Webstaff survey display avoids deep fleshing user/csharp/lp1728122-survey-response-flesh-repair
authorBill Erickson <berickxx@gmail.com>
Mon, 30 Oct 2017 15:36:29 +0000 (11:36 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 30 Oct 2017 16:30:45 +0000 (12:30 -0400)
commit7427804939a5242ed37b4c6ca32e32a75bc7fc55
treea6320b10b3b2e8fa72ff203554e3e5fb8a27cb19
parentb5d42fec7674f5807ea669e2368df9c5ee21d1ed
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>
Open-ILS/src/templates/staff/circ/patron/t_surveys.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/app.js