searches.tsx 471 B

1234567891011121314151617181920212223
  1. import {SavedSearch} from 'sentry/types';
  2. import {Search} from './search';
  3. export function Searches(params: SavedSearch[] = []): SavedSearch[] {
  4. return [
  5. Search({
  6. name: 'Needs Triage',
  7. query: 'is:unresolved is:unassigned',
  8. sort: 'date',
  9. id: '2',
  10. isGlobal: true,
  11. }),
  12. Search({
  13. name: 'Unresolved Issues',
  14. query: 'is:unresolved',
  15. sort: 'date',
  16. id: '1',
  17. isGlobal: true,
  18. }),
  19. ...params,
  20. ];
  21. }