Skip to content

Commit

Permalink
refactor(frontend): Make dashboard search box the first filter (#19721)
Browse files Browse the repository at this point in the history
  • Loading branch information
cemremengu authored Dec 7, 2022
1 parent 60a617e commit 08f2c9b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions superset-frontend/src/views/CRUD/dashboard/DashboardList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,13 @@ function DashboardList(props: DashboardListProps) {

const filters: Filters = useMemo(
() => [
{
Header: t('Search'),
key: 'search',
id: 'dashboard_title',
input: 'search',
operator: FilterOperator.titleOrSlug,
},
{
Header: t('Owner'),
key: 'owner',
Expand Down Expand Up @@ -533,13 +540,6 @@ function DashboardList(props: DashboardListProps) {
{ label: t('No'), value: false },
],
},
{
Header: t('Search'),
key: 'search',
id: 'dashboard_title',
input: 'search',
operator: FilterOperator.titleOrSlug,
},
],
[addDangerToast, favoritesFilter, props.user],
);
Expand Down

0 comments on commit 08f2c9b

Please sign in to comment.