From c0790060fb42e44cfe6f28c105689b308e8dfd0c Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 7 Jun 2023 06:52:12 +0300 Subject: [PATCH] Fixed: (UI) Sort last movies with no release dates Towards #8662 --- frontend/src/Store/Actions/movieActions.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/src/Store/Actions/movieActions.js b/frontend/src/Store/Actions/movieActions.js index 6bac5d9b3..8420de9e4 100644 --- a/frontend/src/Store/Actions/movieActions.js +++ b/frontend/src/Store/Actions/movieActions.js @@ -234,6 +234,18 @@ export const sortPredicates = { } return padNumber(result.toString(), 2) + qualityName; + }, + + inCinemas: function(item) { + return item.inCinemas || ''; + }, + + physicalRelease: function(item) { + return item.physicalRelease || ''; + }, + + digitalRelease: function(item) { + return item.digitalRelease || ''; } };