Fix search by text
This commit is contained in:
parent
f4c34acb40
commit
57a5b85ff3
|
@ -0,0 +1 @@
|
||||||
|
Fix search by text in affected views (#1858)
|
|
@ -94,7 +94,7 @@ const fetchData = async () => {
|
||||||
|
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
watch(() => store.state.moderation.lastUpdate, fetchData)
|
watch(() => store.state.moderation.lastUpdate, fetchData)
|
||||||
watch([page, tags], fetchData)
|
watch([page, tags, q], fetchData)
|
||||||
fetchData()
|
fetchData()
|
||||||
|
|
||||||
const search = () => {
|
const search = () => {
|
||||||
|
|
|
@ -95,7 +95,7 @@ const fetchData = async () => {
|
||||||
|
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
watch([() => store.state.moderation.lastUpdate, excludeCompilation], fetchData)
|
watch([() => store.state.moderation.lastUpdate, excludeCompilation], fetchData)
|
||||||
watch([page, tags], fetchData)
|
watch([page, tags, q], fetchData)
|
||||||
fetchData()
|
fetchData()
|
||||||
|
|
||||||
const search = () => {
|
const search = () => {
|
||||||
|
|
|
@ -96,7 +96,7 @@ const fetchData = async () => {
|
||||||
|
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
watch(() => store.state.moderation.lastUpdate, fetchData)
|
watch(() => store.state.moderation.lastUpdate, fetchData)
|
||||||
watch([page, tags], fetchData)
|
watch([page, tags, q], fetchData)
|
||||||
fetchData()
|
fetchData()
|
||||||
|
|
||||||
const search = () => {
|
const search = () => {
|
||||||
|
|
|
@ -84,7 +84,7 @@ const store = useStore()
|
||||||
const isAuthenticated = computed(() => store.state.auth.authenticated)
|
const isAuthenticated = computed(() => store.state.auth.authenticated)
|
||||||
const hasFavorites = computed(() => store.state.favorites.count > 0)
|
const hasFavorites = computed(() => store.state.favorites.count > 0)
|
||||||
|
|
||||||
watch(page, fetchData)
|
watch([page, q], fetchData)
|
||||||
fetchData()
|
fetchData()
|
||||||
|
|
||||||
const search = () => {
|
const search = () => {
|
||||||
|
|
|
@ -80,7 +80,7 @@ const fetchData = async () => {
|
||||||
isLoading.value = false
|
isLoading.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
watch(page, fetchData)
|
watch([page, q], fetchData)
|
||||||
fetchData()
|
fetchData()
|
||||||
|
|
||||||
const search = () => {
|
const search = () => {
|
||||||
|
|
Loading…
Reference in New Issue