]> git.openpandora.org Git - openembedded.git/commitdiff
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 d49851f5b1155a223bc9d6f78c2f733769d3f1f6..8b64ca345b7287bf5872e1897f9a67e8227f6823 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