diff --git a/resources/js/Pages/Contacts/Index.vue b/resources/js/Pages/Contacts/Index.vue index a2c38d8..6996083 100644 --- a/resources/js/Pages/Contacts/Index.vue +++ b/resources/js/Pages/Contacts/Index.vue @@ -95,7 +95,7 @@ export default { form: { handler: throttle(function() { let query = pickBy(this.form) - this.$inertia.replace(this.route('contacts', Object.keys(query).length ? query : { remember: 'forget' })) + this.$inertia.get(this.route('contacts'), Object.keys(query).length ? query : { remember: 'forget' }, { preserveState: true }) }, 150), deep: true, }, diff --git a/resources/js/Pages/Organizations/Index.vue b/resources/js/Pages/Organizations/Index.vue index aa39f23..b09fc7f 100644 --- a/resources/js/Pages/Organizations/Index.vue +++ b/resources/js/Pages/Organizations/Index.vue @@ -87,7 +87,7 @@ export default { form: { handler: throttle(function() { let query = pickBy(this.form) - this.$inertia.replace(this.route('organizations', Object.keys(query).length ? query : { remember: 'forget' })) + this.$inertia.get(this.route('organizations'), Object.keys(query).length ? query : { remember: 'forget' }, { preserveState: true }) }, 150), deep: true, }, diff --git a/resources/js/Pages/Users/Index.vue b/resources/js/Pages/Users/Index.vue index 15f5d47..52602ec 100644 --- a/resources/js/Pages/Users/Index.vue +++ b/resources/js/Pages/Users/Index.vue @@ -92,7 +92,7 @@ export default { form: { handler: throttle(function() { let query = pickBy(this.form) - this.$inertia.replace(this.route('users', Object.keys(query).length ? query : { remember: 'forget' })) + this.$inertia.get(this.route('users'), Object.keys(query).length ? query : { remember: 'forget' }, { preserveState: true }) }, 150), deep: true, },