mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
811bd5a19d
commit
98c7eb206f
2 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ public FilterListService(FilterListsDbContext dbContext, IConfigurationProvider
|
|||
}
|
||||
|
||||
public async Task<IEnumerable<ListSummaryDto>> GetAllSummariesAsync() =>
|
||||
await DbContext.FilterLists.OrderBy(l => l.Name).ProjectTo<ListSummaryDto>(MapConfig).ToListAsync();
|
||||
await DbContext.FilterLists.OrderBy(l => l.Name.ToLower()).ProjectTo<ListSummaryDto>(MapConfig).ToListAsync();
|
||||
|
||||
public async Task<ListDetailsDto> GetDetailsAsync(uint id) =>
|
||||
await DbContext.FilterLists.ProjectTo<ListDetailsDto>(MapConfig)
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
|
|||
private static renderFilterListsTable(state: IHomeState) {
|
||||
return <ReactTable
|
||||
data={state.lists}
|
||||
defaultSorted={[{ id: "name" }]}
|
||||
key={state.pageSize}
|
||||
defaultPageSize={state.pageSize}
|
||||
showPageSizeOptions={false}
|
||||
|
|
|
|||
Loading…
Reference in a new issue