Skip to content

Commit

Permalink
Fix to filter building for runs pagination (#3810)
Browse files Browse the repository at this point in the history
Currently it uses the from after check the to field
  • Loading branch information
jcscottiii committed May 3, 2024
1 parent e6a9d9d commit 5ad8ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/test_run_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (filter TestRunFilter) ToQuery() (q url.Values) {
q.Set("from", filter.From.Format(time.RFC3339))
}
if filter.To != nil {
q.Set("to", filter.From.Format(time.RFC3339))
q.Set("to", filter.To.Format(time.RFC3339))
}
if filter.View != nil {
q.Set("view", *filter.View)
Expand Down

0 comments on commit 5ad8ebe

Please sign in to comment.