diff --git a/front/src/components/library/Albums.vue b/front/src/components/library/Albums.vue index 86737e2d1..9ba9af3fe 100644 --- a/front/src/components/library/Albums.vue +++ b/front/src/components/library/Albums.vue @@ -105,7 +105,7 @@ const fetchData = async () => { const store = useStore() watch(() => store.state.moderation.lastUpdate, fetchData) -watch([page, tags, q, () => props.scope], fetchData) +watch([page, tags, q, ordering, orderingDirection, () => props.scope], fetchData) fetchData() const search = () => { diff --git a/front/src/components/library/Artists.vue b/front/src/components/library/Artists.vue index 163187a00..de8e31e04 100644 --- a/front/src/components/library/Artists.vue +++ b/front/src/components/library/Artists.vue @@ -107,7 +107,7 @@ const fetchData = async () => { const store = useStore() watch([() => store.state.moderation.lastUpdate, excludeCompilation], fetchData) -watch([page, tags, q, () => props.scope], fetchData) +watch([page, tags, q, ordering, orderingDirection, () => props.scope], fetchData) fetchData() const search = () => { diff --git a/front/src/components/library/Radios.vue b/front/src/components/library/Radios.vue index e18251f2c..f4cdacbb4 100644 --- a/front/src/components/library/Radios.vue +++ b/front/src/components/library/Radios.vue @@ -91,7 +91,7 @@ const store = useStore() const isAuthenticated = computed(() => store.state.auth.authenticated) const hasFavorites = computed(() => store.state.favorites.count > 0) -watch([page, q, () => props.scope], fetchData) +watch([page, q, ordering, orderingDirection, () => props.scope], fetchData) fetchData() const search = () => { diff --git a/front/src/views/channels/List.vue b/front/src/views/channels/List.vue index 49b1df536..2f5c4a506 100644 --- a/front/src/views/channels/List.vue +++ b/front/src/views/channels/List.vue @@ -120,7 +120,7 @@ watch(() => store.state.moderation.lastUpdate, fetchData) const reloadWidget = () => (widgetKey.value = new Date().toLocaleString()) -watch([page, tags, q], fetchData) +watch([page, tags, q, ordering, orderingDirection,], fetchData) const search = () => { page.value = 1 diff --git a/front/src/views/playlists/List.vue b/front/src/views/playlists/List.vue index 6ea303f4c..657573e6f 100644 --- a/front/src/views/playlists/List.vue +++ b/front/src/views/playlists/List.vue @@ -90,7 +90,7 @@ const fetchData = async () => { isLoading.value = false } } -watch([page, q, () => props.scope], fetchData) +watch([page, q, ordering, orderingDirection, () => props.scope], fetchData) fetchData() const search = () => {