From ea9ec138453292109ae13d76d5aea5bbdd988643 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 13 Mar 2022 12:39:12 -0500 Subject: [PATCH] New data model for global search input and search page --- .../components/app/BookShelfCategorized.vue | 24 +++--- client/components/app/BookShelfRow.vue | 4 +- .../components/cards/AudiobookSearchCard.vue | 26 ++++--- client/components/cards/AuthorSearchCard.vue | 75 +++++++++++++++++-- client/components/cards/GroupCard.vue | 4 +- client/components/cards/SeriesSearchCard.vue | 12 ++- client/components/controls/GlobalSearch.vue | 34 ++++----- client/components/covers/GroupCover.vue | 1 - client/pages/library/_library/search.vue | 4 +- server/controllers/LibraryController.js | 65 ++++++++-------- server/objects/Library.js | 3 + server/objects/LibraryItem.js | 5 ++ server/objects/entities/Book.js | 28 +++++++ server/objects/entities/Podcast.js | 5 ++ server/objects/metadata/BookMetadata.js | 26 +++++++ server/objects/metadata/PodcastMetadata.js | 13 ++++ 16 files changed, 241 insertions(+), 88 deletions(-) diff --git a/client/components/app/BookShelfCategorized.vue b/client/components/app/BookShelfCategorized.vue index 24c4d211..21b04907 100644 --- a/client/components/app/BookShelfCategorized.vue +++ b/client/components/app/BookShelfCategorized.vue @@ -7,13 +7,16 @@

Texture

-
+

Audiobookshelf is empty!

Configure Scanner Scan Audiobooks
+
+

No results for query

+