We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d852b29 commit ee37b1dCopy full SHA for ee37b1d
site/src/request_handlers/dashboard.rs
@@ -14,7 +14,8 @@ pub async fn handle_dashboard(ctxt: Arc<SiteCtxt>) -> ServerResult<dashboard::Re
14
15
let mut versions = index
16
.artifacts()
17
- .filter(|a| a.starts_with("1.") || a.starts_with("beta"))
+ // Do not consider patch releases, only consider 1.XYZ.0
18
+ .filter(|a| (a.starts_with("1.") && a.ends_with(".0")) || a.starts_with("beta"))
19
.collect::<Vec<_>>();
20
versions.sort_by(|a, b| {
21
match (
0 commit comments