Changes between Version 4 and Version 5 of REDCap sql fields
- Timestamp:
- 01/31/14 10:19:08 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
REDCap sql fields
v4 v5 46 46 value VARCHAR(100), 47 47 label VARCHAR(100), 48 sort_order TINYINT, 48 49 INDEX reference (project,form,field), 50 INDEX sort_order_1 (sort_order), 51 INDEX sort_order_2 (sort_order,label), 49 52 KEY value_key (project,form,field,value), 50 53 KEY label_key (project,form,field,label) … … 92 95 }}} 93 96 97 === Display order === 98 99 As per #173 (the first use case / ticket for SQL fields in our REDCap) Daisy asked to have one specific option (in this case 'Other') elevated to first in the list. This seems a generalisable requirement (e.g. country might well offer UK before an alphabetised list. Best way to deliver would be to have a 'sort order' column, and use that as the first order by column, reverting to alphabetical as a second order by column, if desired. 100 101 Table definition above has been edited. Amendment in test.