Skip to content

Commit 2f3c07f

Browse files
committed
Fix end date selection on the compare page.
1 parent 53f2ca5 commit 2f3c07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/selector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub fn artifact_id_for_bound(data: &Index, bound: Bound, is_left: bool) -> Optio
4848
} else {
4949
commits
5050
.iter()
51-
.rfind(|commit| bound.left_match(commit))
51+
.rfind(|commit| bound.right_match(commit))
5252
.cloned()
5353
};
5454
commit.map(|c| ArtifactId::Commit(c)).or_else(|| {

0 commit comments

Comments
 (0)