Skip to content

Commit

Permalink
SCI-9003 - Added order by dataCollectionId to DataCollection query
Browse files Browse the repository at this point in the history
Fix by @NigelWilson to prevent multiple data collections from different detectors with the same start time from constantly switching places when re-fetching from ISPyB.
  • Loading branch information
JPHall-DLS authored Jan 27, 2020
1 parent 7f22eb6 commit 9853fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Page/DC.php
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ function _data_collections($single=null) {
WHERE $sess[2] $where3
ORDER BY sta DESC";
ORDER BY sta DESC, id DESC";

$dcs = $this->db->paginate($q, $args);
$this->profile('main query');
Expand Down

0 comments on commit 9853fa1

Please sign in to comment.