Commit Graph

10 Commits

Author SHA1 Message Date
Damian Mooyman
57048fd901 Convert to psr-2 2016-08-09 17:05:22 +12:00
rasstislav
8f1986fc6a Update UserFormsGridFieldFilterHeader.php 2015-11-17 14:19:16 +01:00
Peter Thaleikis
20cc915236 remove trailing spaces in the codebase 2015-09-11 10:20:06 +12:00
Brice Burgess
833f171496 remove unnecessary call to getURLParams()
The result of getURLParams was never used / cleaned up -- and it breaks the ability to edit a UserDefinedForm in a GridField.  (eg via the holderpage or versioned-gridfield module)
2014-11-25 17:09:06 -05:00
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
Kirk Mayo
99de36afef BUG: Fixes #166 for SQL server which does not like empty strings as numerics 2013-10-17 15:01:41 +13:00
Will Rossiter
b096cf611a FIX: update DropdownField usage for 3.1 2013-03-21 23:22:51 +13:00
Will Rossiter
416a5b8864 FIX: fix submissions grid field in 3.0 versions (#96, #100) 2013-03-16 12:18:51 +13:00
Will Rossiter
c4c547321c NEW Filter submissions by created date 2013-03-05 11:10:23 +13:00
Will Rossiter
8e252c88ed NEW Migrate submissions section to a GridField instance. (Fixes #94) 2013-03-05 10:45:54 +13:00