searches.js 398 B

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