New: Sorting Series List/Mass Editor by Language Profile and Tags

Closes #3854
This commit is contained in:
Robin Dadswell 2020-12-15 04:07:00 +00:00 committed by GitHub
parent e733529dc3
commit 55a7253dc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 3 deletions

View File

@ -144,6 +144,15 @@ function SeriesIndexSortMenu(props) {
> >
Size on Disk Size on Disk
</SortMenuItem> </SortMenuItem>
<SortMenuItem
name="tags"
sortKey={sortKey}
sortDirection={sortDirection}
onPress={onSortSelect}
>
Tags
</SortMenuItem>
</MenuContent> </MenuContent>
</SortMenu> </SortMenu>
); );

View File

@ -55,7 +55,7 @@ export const defaultState = {
{ {
name: 'languageProfileId', name: 'languageProfileId',
label: 'Language Profile', label: 'Language Profile',
isSortable: false, isSortable: true,
isVisible: true isVisible: true
}, },
{ {
@ -85,7 +85,7 @@ export const defaultState = {
{ {
name: 'tags', name: 'tags',
label: 'Tags', label: 'Tags',
isSortable: false, isSortable: true,
isVisible: true isVisible: true
} }
], ],

View File

@ -171,7 +171,7 @@ export const defaultState = {
{ {
name: 'tags', name: 'tags',
label: 'Tags', label: 'Tags',
isSortable: false, isSortable: true,
isVisible: false isVisible: false
}, },
{ {