File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/sentry/issues/endpoints Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 6363from sentry .models .organization import Organization
6464from sentry .models .project import Project
6565from sentry .search .events .constants import EQUALITY_OPERATORS
66- from sentry .search .events .filter import to_list
6766from sentry .search .snuba .backend import assigned_or_suggested_filter
6867from sentry .search .snuba .executors import get_search_filter
6968from sentry .utils .cursors import Cursor , CursorResult
@@ -178,8 +177,11 @@ def _get_issue_id_shortcut_ids(
178177 return None
179178 if sf .key .name != "issue.id" or sf .operator not in EQUALITY_OPERATORS :
180179 return None
180+ raw = sf .value .raw_value
181181 try :
182- return [int (v ) for v in to_list (sf .value .raw_value )]
182+ if isinstance (raw , (list , tuple )):
183+ return [int (v ) for v in raw ]
184+ return [int (raw )]
183185 except (ValueError , TypeError ):
184186 return None
185187
You can’t perform that action at this time.
0 commit comments