silverstripe-userforms/code
Sean Harvey 425881257b BUG Performance improvements of SubmittedFormField queries.
When there are a lot of SubmittedForm records the UserDefinedForm
page takes a long time to load in the CMS, and oftens exceeds
the PHP memory limit well beyond 128M.

Previously UserDefinedForm::getCMSFields() would build a list of
name => value from all SubmittedFormField records, but it would
do this twice, once in getCMSFields() and another time in
UserFormsGridFieldFilterHeader. It would also use the full ORM
to build this list, when all it needs is a map of the Name
and Value columns.

This fixes that to build the columns once in getCMSFields() using
DB::query() and it'll pass those columns along to
UserFormsGridFieldFilterHeader as well so it doesn't do it twice.
2013-11-13 17:08:49 +13:00
..
formfields Fixed globalisation for field list 2013-11-06 15:05:31 +01:00
model BUG Performance improvements of SubmittedFormField queries. 2013-11-13 17:08:49 +13:00
tasks BUG: Fixes #119 adds a tasks to clean up columns for EditableFormField 2013-05-25 16:03:59 +12:00
UserFormsGridFieldFilterHeader.php BUG Performance improvements of SubmittedFormField queries. 2013-11-13 17:08:49 +13:00