Skip to content

Commit

Permalink
Sort fields secondarily by handle to fix order flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Olde Hampsink committed Jun 13, 2018
1 parent 857484c commit 8824467
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 8824467

Please # to comment.