Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hey there,
The no
column in the webform_submitted_data
table is currently of the type varchar. This means that ordering by that column (which actually happens when loading a submission) doesn't work.
For example, if you have a select list with more than 10 options and you select them all, the order in which they come back from the table is 1, 10, 11, 12, 2, 3, 4, etc.
Comments
Comment #1
Upchuk CreditAttribution: Upchuk commentedSomehow the issue got submitted twice...
Original is #2449383: Select list component display incorrectly orders items; should match component order
Comment #2
DanChadwick CreditAttribution: DanChadwick commentedThe keys are strings and often contain string values. Unlike core, all data is stored in the same table. There is no guarantee that views will order them in their no order.
Comment #3
DanChadwick CreditAttribution: DanChadwick commentedComment #4
DanChadwick CreditAttribution: DanChadwick commented