Skip to content

Commit 50f0c86

Browse files
committed
Include first_seen in aggregation filter mapping
1 parent da3b0ef commit 50f0c86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sentry/search/eap/occurrences/search_executor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@
5050
# The EAP SearchResolver parses function syntax like count():>100 as AggregateFilter objects
5151
# and routes them to the aggregation_filter field on the RPC request.
5252
AGGREGATION_FIELD_TO_EAP_FUNCTION: dict[str, str] = {
53-
"times_seen": "count()",
5453
"last_seen": "last_seen()",
54+
"times_seen": "count()",
55+
"first_seen": "first_seen()",
5556
"user_count": "count_unique(user)",
5657
}
5758

0 commit comments

Comments
 (0)