-
-
-
-
-
-
+
+
+
+
+
+ | {{ $strings.LabelName }} |
+ {{ $strings.LabelBooks }} |
+
+
+ |
+
+ {{ author.name }}
+
+ |
+
+ {{ author.numBooks }}
+ |
+
+
@@ -53,6 +74,9 @@ export default {
authorSortBy() {
return this.$store.getters['user/getUserSetting']('authorSortBy') || 'name'
},
+ authorLayoutType() {
+ return this.$store.getters['user/getUserSetting']('authorPageLayout') || 'cards'
+ },
authorSortDesc() {
return !!this.$store.getters['user/getUserSetting']('authorSortDesc')
},
diff --git a/client/store/user.js b/client/store/user.js
index 10dc8ef66..cbd84dfc0 100644
--- a/client/store/user.js
+++ b/client/store/user.js
@@ -1,6 +1,7 @@
export const state = () => ({
user: null,
settings: {
+ authorPageLayout: 'cards',
orderBy: 'media.metadata.title',
orderDesc: false,
filterBy: 'all',