mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-07 01:41:35 +00:00
Update function name to be more descriptive
This commit is contained in:
parent
6a983a53b4
commit
d67c1816dd
2 changed files with 2 additions and 2 deletions
|
|
@ -259,7 +259,7 @@ class Database {
|
|||
await this.rebuildComputedTableRows(this.authorModel, {
|
||||
label: 'author',
|
||||
attributes: ['id', 'name', 'lastFirst', 'searchName', 'libraryId'],
|
||||
prepareRow: (author) => this.authorModel.isDerivedFieldChange(author)
|
||||
prepareRow: (author) => this.authorModel.hasDerivedFieldChange(author)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ class Author extends Model {
|
|||
return this.normalizeSearchName(leftName) === this.normalizeSearchName(rightName)
|
||||
}
|
||||
|
||||
static isDerivedFieldChange(author) {
|
||||
static hasDerivedFieldChange(author) {
|
||||
const derivedFields = this.buildAuthorDerivedFields(author.name)
|
||||
let changed = false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue