Browse Source

fix(dashboard-templates): Change priority sort to date for issue widgets (#70598)

Priority doesn't seem to be a valid sort order for these anymore and
date is the default order on the issues page.

Fixes the following error state from showing by default:
![Screenshot 2024-05-09 at 2 44
03 PM](https://github.com/getsentry/sentry/assets/22846452/cc42c7b6-0ef6-487a-a33d-7f1ae4f17c1a)
Nar Saynorath 10 months ago
parent
commit
30d15df79b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      static/app/views/dashboards/data.tsx

+ 2 - 2
static/app/views/dashboards/data.tsx

@@ -467,7 +467,7 @@ export const DASHBOARDS_TEMPLATES: DashboardTemplate[] = [
             aggregates: [],
             columns: ['assignee', 'issue', 'title'],
             conditions: 'assigned_or_suggested:me is:unresolved',
-            orderby: 'priority',
+            orderby: 'date',
           },
         ],
       },
@@ -917,7 +917,7 @@ export const DASHBOARDS_TEMPLATES: DashboardTemplate[] = [
             aggregates: [],
             columns: ['assignee', 'issue', 'title'],
             conditions: 'assigned_or_suggested:me is:unresolved',
-            orderby: 'priority',
+            orderby: 'date',
           },
         ],
       },