From 090a6a36966e0fdc8b4ed045d03e907a34f73107 Mon Sep 17 00:00:00 2001 From: mx03 Date: Mon, 27 Dec 2021 11:43:07 +0100 Subject: [PATCH] Sort filters --- server/utils/libraryHelpers.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/utils/libraryHelpers.js b/server/utils/libraryHelpers.js index 2d012587..753169ba 100644 --- a/server/utils/libraryHelpers.js +++ b/server/utils/libraryHelpers.js @@ -74,6 +74,11 @@ module.exports = { }) } }) + data.authors = naturalSort(data.authors).asc() + data.genres = naturalSort(data.genres).asc() + data.tags = naturalSort(data.tags).asc() + data.series = naturalSort(data.series).asc() + data.narrators = naturalSort(data.narrators).asc() return data },