diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue
index cdf60b4b..0071979c 100644
--- a/client/components/app/Appbar.vue
+++ b/client/components/app/Appbar.vue
@@ -39,8 +39,9 @@
{{ isAllSelected ? 'Select None' : 'Select All' }}
-
-
+
+
+
@@ -101,6 +102,9 @@ export default {
var userAb = this.userAudiobooks[ab]
return !userAb || !userAb.isRead
})
+ },
+ processingBatch() {
+ return this.$store.state.processingBatch
}
},
methods: {
@@ -124,6 +128,7 @@ export default {
}
},
toggleBatchRead() {
+ this.$store.commit('setProcessingBatch', true)
var newIsRead = !this.selectedIsRead
var updateProgressPayloads = this.selectedAudiobooks.map((ab) => {
return {
diff --git a/client/components/cards/BookCard.vue b/client/components/cards/BookCard.vue
index cec42de6..54937a90 100644
--- a/client/components/cards/BookCard.vue
+++ b/client/components/cards/BookCard.vue
@@ -24,7 +24,7 @@
edit
-
+
{{ selected ? 'radio_button_checked' : 'radio_button_unchecked' }}
diff --git a/client/package.json b/client/package.json
index f559c257..fb3e9e5d 100644
--- a/client/package.json
+++ b/client/package.json
@@ -1,6 +1,6 @@
{
"name": "audiobookshelf-client",
- "version": "1.1.10",
+ "version": "1.1.11",
"description": "Audiobook manager and player",
"main": "index.js",
"scripts": {
diff --git a/client/store/audiobooks.js b/client/store/audiobooks.js
index 4974ca26..4023d3ac 100644
--- a/client/store/audiobooks.js
+++ b/client/store/audiobooks.js
@@ -45,9 +45,12 @@ export const getters = {
var direction = settings.orderDesc ? 'desc' : 'asc'
var filtered = getters.getFiltered()
+ var orderByNumber = settings.orderBy === 'book.volumeNumber'
return sort(filtered)[direction]((ab) => {
// Supports dot notation strings i.e. "book.title"
- return settings.orderBy.split('.').reduce((a, b) => a[b], ab)
+ var value = settings.orderBy.split('.').reduce((a, b) => a[b], ab)
+ if (orderByNumber && !isNaN(value)) return Number(value)
+ return value
})
},
getUniqueAuthors: (state) => {
diff --git a/package.json b/package.json
index bca428c6..784faf41 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "audiobookshelf",
- "version": "1.1.10",
+ "version": "1.1.11",
"description": "Self-hosted audiobook server for managing and playing audiobooks.",
"main": "index.js",
"scripts": {