mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-23 04:09:38 +00:00
Clear LibraryItemsPodcastFilters count cache after podcast[Episode] is created or destroryed
This commit is contained in:
parent
de5d8650e8
commit
659164003f
3 changed files with 20 additions and 2 deletions
|
|
@ -100,7 +100,8 @@ module.exports = {
|
|||
return []
|
||||
},
|
||||
|
||||
clearCountCache() {
|
||||
clearCountCache(model, hook) {
|
||||
Logger.debug(`[LibraryItemsPodcastFilters] ${model}.${hook}: Clearing count cache`)
|
||||
countCache.clear()
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue