Skip to content

Commit

Permalink
phoromatic: Sort systems on main page
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellarabel committed Jun 21, 2015
1 parent 71a0ebb commit 1cf19ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -11,6 +11,7 @@ Phoronix Test Suite (Git)
- phoromatic: Allow basic sub-targeting as part of test schedule trigger URLs
- phoromatic: Enhancements to the main page
- phoromatic: Result tracker detection improvements
- phoromatic: Sort systems on main page

Phoronix Test Suite 5.8-Belev
5 June 2015
Expand Down
2 changes: 1 addition & 1 deletion pts-core/objects/phoromatic/phoromatic_server.php
Expand Up @@ -559,7 +559,7 @@ public static function systems_associated_with_schedule($account_id, $schedule_i
if(empty($group))
continue;

$stmt = phoromatic_server::$db->prepare('SELECT SystemID FROM phoromatic_systems WHERE AccountID = :account_id AND Groups LIKE :sgroup');
$stmt = phoromatic_server::$db->prepare('SELECT SystemID FROM phoromatic_systems WHERE AccountID = :account_id AND Groups LIKE :sgroup ORDER BY Title ASC');
$stmt->bindValue(':account_id', $account_id);
$stmt->bindValue(':sgroup', '%#' . $group . '#%');
$result = $stmt->execute();
Expand Down

0 comments on commit 1cf19ce

Please sign in to comment.