Closed (fixed)
Project:
Forms (obsolete)
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2005 at 22:47 UTC
Updated:
7 Nov 2005 at 21:00 UTC
OK, I'll call it a feature request -- right now, forms are listed by weight, and then by FFID, which leads to some strange actions, as you can't predict what order fields will sort in if they are the same weight.
I added sorting by title on line 68:
$result = db_query("SELECT * FROM {form_fields} WHERE fid=%d ORDER BY weight ASC, title ASC", $form->fid);
And there was much joy in the land as we can now predict that form fields will display alphabetically.
Comments
Comment #1
walkah commentedfixed.
Comment #2
(not verified) commented