diff options
Diffstat (limited to 'bpkg/pkg-status.cxx')
-rw-r--r-- | bpkg/pkg-status.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bpkg/pkg-status.cxx b/bpkg/pkg-status.cxx index 896ffe9..1f890c4 100644 --- a/bpkg/pkg-status.cxx +++ b/bpkg/pkg-status.cxx @@ -87,6 +87,8 @@ namespace bpkg q = q && compare_version_eq (query::id.version, v, v.revision != 0); q += order_by_revision_desc (query::id.version); } + else + q += order_by_version_desc (query::id.version); // Only consider packages that are in repositories that were explicitly // added to the configuration and their complements, recursively. |