From 852831a6e7d91bf619b1da17b8e0128db5c3e869 Mon Sep 17 00:00:00 2001 From: Robin Dadswell Date: Tue, 15 Dec 2020 04:07:00 +0000 Subject: [PATCH] New: Sorting Artist List/Mass Editor by Tags Closes #1804 --- frontend/src/Artist/Index/Menus/ArtistIndexSortMenu.js | 9 +++++++++ frontend/src/Store/Actions/artistEditorActions.js | 2 +- frontend/src/Store/Actions/artistIndexActions.js | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/frontend/src/Artist/Index/Menus/ArtistIndexSortMenu.js b/frontend/src/Artist/Index/Menus/ArtistIndexSortMenu.js index 2528d5ffe..967b34d49 100644 --- a/frontend/src/Artist/Index/Menus/ArtistIndexSortMenu.js +++ b/frontend/src/Artist/Index/Menus/ArtistIndexSortMenu.js @@ -135,6 +135,15 @@ function ArtistIndexSortMenu(props) { > Size on Disk + + + Tags + ); diff --git a/frontend/src/Store/Actions/artistEditorActions.js b/frontend/src/Store/Actions/artistEditorActions.js index 480d869c4..65f3272c9 100644 --- a/frontend/src/Store/Actions/artistEditorActions.js +++ b/frontend/src/Store/Actions/artistEditorActions.js @@ -73,7 +73,7 @@ export const defaultState = { { name: 'tags', label: translate('Tags'), - isSortable: false, + isSortable: true, isVisible: true } ], diff --git a/frontend/src/Store/Actions/artistIndexActions.js b/frontend/src/Store/Actions/artistIndexActions.js index 79fca7f70..e74a47a70 100644 --- a/frontend/src/Store/Actions/artistIndexActions.js +++ b/frontend/src/Store/Actions/artistIndexActions.js @@ -155,7 +155,7 @@ export const defaultState = { { name: 'tags', label: translate('Tags'), - isSortable: false, + isSortable: true, isVisible: false }, {