Skip to content

Commit

Permalink
Merge pull request #2989 from boboldehampsink/also_sort_by_handle
Browse files Browse the repository at this point in the history
Sort fields secondarily by handle to fix order flakiness
  • Loading branch information
brandonkelly authored Jun 13, 2018
2 parents 857484c + 8824467 commit de25c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ private function _createFieldQuery(): Query
'fields.settings'
])
->from(['{{%fields}} fields'])
->orderBy(['fields.name' => SORT_ASC]);
->orderBy(['fields.name' => SORT_ASC, 'fields.handle' => SORT_ASC]);
}

/**
Expand Down

0 comments on commit de25c1b

Please # to comment.