Reset filters and search when switching libraries

This commit is contained in:
Tiberiu Ichim 2026-02-15 16:37:03 +02:00
parent f7506e84d3
commit 8f189763f0
5 changed files with 47 additions and 3 deletions

View file

@ -88,7 +88,7 @@ export default {
// For series item page redirect to root series page
this.$router.push(`/library/${library.id}/bookshelf/series`)
} else if (this.$route.name === 'library-library-search') {
this.$router.push(this.$route.fullPath.replace(currLibraryId, library.id))
this.$router.push(`/library/${library.id}/bookshelf`)
} else if (this.$route.name.startsWith('library')) {
this.$router.push(this.$route.path.replace(currLibraryId, library.id))
} else {