From 174dac8fd4bf5413fb360eeae2ce4e939fe813be Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 9 Apr 2022 19:44:46 -0500 Subject: [PATCH] Add collapse series, add filter by series include sequence and sort, show number of episodes on podcast card --- client/components/app/LazyBookshelf.vue | 2 -- client/components/cards/LazyBookCard.vue | 34 +++++++++++++++++------- client/mixins/bookshelfCardsHelpers.js | 2 +- server/controllers/LibraryController.js | 20 +++++++++++++- server/objects/mediaTypes/Podcast.js | 2 +- server/objects/metadata/BookMetadata.js | 6 +++++ server/utils/libraryHelpers.js | 29 ++++++++++++++++++++ 7 files changed, 80 insertions(+), 15 deletions(-) diff --git a/client/components/app/LazyBookshelf.vue b/client/components/app/LazyBookshelf.vue index e9037bed..ea7795b4 100644 --- a/client/components/app/LazyBookshelf.vue +++ b/client/components/app/LazyBookshelf.vue @@ -378,8 +378,6 @@ export default { let searchParams = new URLSearchParams() if (this.page === 'series-books') { searchParams.set('filter', `series.${this.$encode(this.seriesId)}`) - searchParams.set('sort', 'book.volumeNumber') - searchParams.set('desc', 0) } else { if (this.filterBy && this.filterBy !== 'all') { searchParams.set('filter', this.filterBy) diff --git a/client/components/cards/LazyBookCard.vue b/client/components/cards/LazyBookCard.vue index f0f62f29..1fe5d76d 100644 --- a/client/components/cards/LazyBookCard.vue +++ b/client/components/cards/LazyBookCard.vue @@ -35,8 +35,8 @@ - -
+ +