Skip to content

Commit

Permalink
fix ordering in archive-index fixing command
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Jul 12, 2024
1 parent a0b0756 commit 30ce733
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/bin/cratesfyi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,8 @@ impl DatabaseSubcommand {
"
SELECT c.name, r.version, r.release_time
FROM crates c, releases r
WHERE c.id = r.crate_id
ORDER BY r.id
WHERE c.id = r.crate_id AND r.release_time IS NOT NULL
ORDER BY r.release_time DESC
"
)
.fetch(&mut *conn);
Expand Down

0 comments on commit 30ce733

Please sign in to comment.