Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit db5c10d

Browse files
committed
BUG: refs #921. Fix ordering of latest nightly packages
1 parent 934fedb commit db5c10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/packages/models/pdo/PackageModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function getLatestOfEachPackageType($application, $os, $arch, $submission
104104
->where('os = ?', $os)
105105
->where('arch = ?', $arch)
106106
->where('packagetype = ?', $type)
107-
->order('checkoutdate', 'DESC')
107+
->order('checkoutdate DESC')
108108
->limit(1);
109109
if($submissiontype)
110110
{

0 commit comments

Comments
 (0)