issues
search
aicers
/
review-web
A web interface to REview
Apache License 2.0
1
stars
2
forks
source link
Issue where applying a filter condition would add a `RankedOutlier` unrelated to the filter condition.
#338
Closed
kimhanbeom
closed
1 month ago
kimhanbeom
commented
1 month ago
In a recently resolved
issue
, I fixed the following to prevent the cursor from being included in the results when using cursor
https://github.com/aicers/review-web/blob/ceb95efa25c60ebbf6f159a5d539bcc335d46dd6/src/graphql/outlier.rs#L638-L659
However, when the cursor is not used and filter conditions (time, distance, tag, remarks) are specified, the first element is always included in the result.
To fix this, we need to modify to check the filter condition before adding to the
nodes
.
nodes
.