diff --git a/resources/js/layouts/App.vue b/resources/js/layouts/App.vue index 8cd03114..916a4f85 100644 --- a/resources/js/layouts/App.vue +++ b/resources/js/layouts/App.vue @@ -48,8 +48,8 @@ export default { computed: { isearch: { set: debounce(function(v) { - this.$inertia.visit(this.qs({ search: v }), { - only: ['search', 'data'], + this.$inertia.visit(this.qs({ page: 1, search: v }), { + only: ['page', 'search', 'data'], preserveState: true, }); }, 500),