All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 629f2f0b authored by Leigh B Stoller's avatar Leigh B Stoller

Fix mysql 5.7 "order by" complaints.

parent 19cc9bd6
......@@ -472,7 +472,7 @@ function ClassicImageList($target)
$results = array();
$query =
"select distinct iv.*,ov.* from images as i ".
"select distinct i.imagename,iv.*,ov.* from images as i ".
"left join image_versions as iv on ".
" iv.imageid=i.imageid and iv.version=i.version ".
"left join os_info_versions as ov on ".
......
......@@ -215,7 +215,7 @@ else {
"g.uid_idx is not null) ";
}
$query =
"select distinct iv.*,ov.* from images as i ".
"select distinct i.imagename,iv.*,ov.* from images as i ".
"left join image_versions as iv on ".
" iv.imageid=i.imageid and iv.version=i.version ".
"left join os_info_versions as ov on ".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment