Fixed page navigation
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
aba214614c
commit
c207fe0f07
|
@ -33,7 +33,10 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
goto(page) {
|
||||
this.$inertia.visit(window.location.pathname + '?page=' + page.page, {
|
||||
var params = new URLSearchParams(window.location.search);
|
||||
params.set('page', page.page);
|
||||
|
||||
this.$inertia.visit(window.location.pathname + '?' + params.toString(), {
|
||||
only: this.only,
|
||||
preserveState: this.preserve,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue