mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-04 08:21:35 +00:00
Compare commits
No commits in common. "9f834a53459e99c22b60aa4cfaf4c87ba37d3474" and "fd84cd0d7f647705a49f300b9bdb940f9725e1a7" have entirely different histories.
9f834a5345
...
fd84cd0d7f
1 changed files with 1 additions and 3 deletions
|
|
@ -222,7 +222,7 @@ class MiscController {
|
|||
|
||||
// Update nameIgnorePrefix column on series
|
||||
const allSeries = await Database.seriesModel.findAll({
|
||||
attributes: ['id', 'name', 'nameIgnorePrefix', 'libraryId']
|
||||
attributes: ['id', 'name', 'nameIgnorePrefix']
|
||||
})
|
||||
const bulkUpdateSeries = []
|
||||
allSeries.forEach((series) => {
|
||||
|
|
@ -230,8 +230,6 @@ class MiscController {
|
|||
if (nameIgnorePrefix !== series.nameIgnorePrefix) {
|
||||
bulkUpdateSeries.push({
|
||||
id: series.id,
|
||||
name: series.name,
|
||||
libraryId: series.libraryId,
|
||||
nameIgnorePrefix
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue