diff --git a/client/components/Search/BookView/BookView.vue b/client/components/Search/BookView/BookView.vue
index 0f2bca8..c70e237 100644
--- a/client/components/Search/BookView/BookView.vue
+++ b/client/components/Search/BookView/BookView.vue
@@ -33,7 +33,7 @@
-
+
{{ bookAuthor }}
@@ -46,7 +46,7 @@
{{ book.title }}
-
+
{{ bookSeries }}
@@ -79,10 +79,10 @@
{{ bookDate }}
-
-
@@ -117,6 +117,7 @@ class BookView {
showGenres = true;
showDeleted = false;
showDates = false;
+ showJson = false;
created() {
this.loadSettings();
@@ -130,6 +131,7 @@ class BookView {
this.showGenres = settings.showGenres;
this.showDates = settings.showDates;
this.showDeleted = settings.showDeleted;
+ this.showJson = settings.showJson;
}
get settings() {
diff --git a/client/components/Search/ExtendedList/ExtendedList.vue b/client/components/Search/ExtendedList/ExtendedList.vue
index d836118..19a19d5 100644
--- a/client/components/Search/ExtendedList/ExtendedList.vue
+++ b/client/components/Search/ExtendedList/ExtendedList.vue
@@ -9,7 +9,7 @@
diff --git a/client/components/Search/Search.vue b/client/components/Search/Search.vue
index 0f3915f..7544c3c 100644
--- a/client/components/Search/Search.vue
+++ b/client/components/Search/Search.vue
@@ -227,6 +227,10 @@
{{ foundCountMessage }}
+
+
+
+
@@ -361,6 +365,9 @@ const componentOptions = {
langDefault() {
this.updateSearchFromRouteQuery(this.$route);
},
+ showJson(newValue) {
+ this.setSetting('showJson', newValue);
+ },
list: {
handler(newValue) {
this.updateGenreTreeIfNeeded();
@@ -433,6 +440,7 @@ class Search {
langDefault = '';
limit = 20;
extendedParams = false;
+ showJson = false;
//stuff
prevList = {};
@@ -525,6 +533,7 @@ class Search {
this.expandedSeries = _.cloneDeep(settings.expandedSeries);
this.abCacheEnabled = settings.abCacheEnabled;
this.langDefault = settings.langDefault;
+ this.showJson = settings.showJson;
}
recvMessage(d) {
diff --git a/client/store/root.js b/client/store/root.js
index 1a868b1..58bc6a8 100644
--- a/client/store/root.js
+++ b/client/store/root.js
@@ -16,6 +16,7 @@ const state = {
showDeleted: false,
abCacheEnabled: true,
langDefault: '',
+ showJson: false,
},
};