Brad Smith <brads(a)redhat.com> writes:
> When multiple versions of the same
> package are returned within a category, it should sort so that the
> "newest" package is displayed first.
>
The query currently does "ORDER BY package.name, package.version,
package.release, package.arch", which should (and seems to) list
packages in descending version order. Would it be simpler if the package
list was not also sorted by arch, or are you referring to something
else?
Won't quite work -- the alphabetical ordering of versions isn't
necessarily correct wrt rpm's versioning. rpmvercmp is a bit more
complicated, unfortunately.
Chip
--
Chip Turner cturner(a)redhat.com
Red Hat, Inc.