Skip to content

Commit

Permalink
Merge pull request #605 from code4romania/feature/517
Browse files Browse the repository at this point in the history
feat: [517] add search and sort by alias instead of name
  • Loading branch information
dragos1195 authored Aug 14, 2024
2 parents 0889966 + 18836d4 commit b0f580f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const ORGANIZATION_FILTERS_CONFIG = {
completionStatus: true,
logo: true,
},
searchableColumns: ['name'],
searchableColumns: ['name', 'alias'],
defaultSortBy: 'id',
defaultOrderDirection: OrderDirection.ASC,
relations: {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const translations = {

export const OrganizationsTableHeaders: TableColumn<IOrganizationView>[] = [
{
id: 'name',
id: 'alias',
name: <DataTableNameHeader text={translations.ong} />,
sortable: true,
minWidth: '10rem',
Expand Down

0 comments on commit b0f580f

Please sign in to comment.