mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Actually last one won't work
Signed-off-by: Cameron Grant <sasky.creative@gmail.com>
This commit is contained in:
parent
4f8a0dc5cf
commit
f36f1a99a0
@ -118,9 +118,8 @@ class UserDefinedForm extends Page {
|
||||
SELECT "SubmittedFormField"."Name", "SubmittedFormField"."Title"
|
||||
FROM "SubmittedFormField"
|
||||
LEFT JOIN "SubmittedForm" ON "SubmittedForm"."ID" = "SubmittedFormField"."ParentID"
|
||||
LEFT JOIN "EditableFormField_Live" ON "EditableFormField_Live"."ParentID" = "SubmittedForm"."ParentID"
|
||||
WHERE "SubmittedForm"."ParentID" = '$parentID'
|
||||
ORDER BY "EditableFormField_Live"."Sort" ASC
|
||||
ORDER BY "SubmittedFormField"."ID" ASC
|
||||
SQL;
|
||||
$columns = DB::query($columnSQL)->map();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user