feed-browser: in package details sort by version, then by arch
authorMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 5 Jul 2007 16:37:50 +0000 (16:37 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 5 Jul 2007 16:37:50 +0000 (16:37 +0000)
contrib/feed-browser/includes/functions.inc

index d49851f..8b64ca3 100644 (file)
@@ -182,7 +182,7 @@ function pkgdetails ($package)
        $result = db_query("SELECT * FROM packages,feeds
                                WHERE (packages.p_name='$package' OR packages.p_provides='$package')
                                    AND feeds.f_id = packages.p_feed 
-                               ORDER BY packages.p_version DESC, feeds.f_name ASC, packages.p_arch DESC ");
+                               ORDER BY packages.p_version DESC, packages.p_arch ASC ");
        
        // display first result