diff --git a/backend/routes/episodeSeenRoutes.js b/backend/routes/episodeSeenRoutes.js
index 7ccc3aa..b0c1702 100644
--- a/backend/routes/episodeSeenRoutes.js
+++ b/backend/routes/episodeSeenRoutes.js
@@ -88,7 +88,11 @@ episodeSeenRouter.get('/by-entry/:entryId', async (req, res) => {
}],
attributes: ['episode_number'],
}],
- order: [['date_seen', 'DESC'], [Episode, 'episode_number', 'DESC']]
+ order: [
+ ['date_seen', 'DESC'],
+ [{ model: Episode }, { model: Season }, 'season_number', 'DESC'],
+ // [Sequelize.literal('"Episode->Season"."season_number"'), 'DESC'], // ! or this
+ [Episode, 'episode_number', 'DESC']]
});
res.status(200).json(episodeSeens);
diff --git a/frontend/src/app/features/discover/search/search.component.html b/frontend/src/app/features/discover/search/search.component.html
index 2f9cfce..5a9e837 100644
--- a/frontend/src/app/features/discover/search/search.component.html
+++ b/frontend/src/app/features/discover/search/search.component.html
@@ -46,7 +46,7 @@
-