-
Notifications
You must be signed in to change notification settings - Fork 526
Closed
Description
Version:
@inertiajs/vue3
version: 1.2.0
Describe the problem:
I followed the exemple in #282.
My query ?sort=client.name%2Casc
should be ?sort=client.name,asc
.
This works in vue-router/nuxt using the same qs
package params.
Steps to reproduce:
axios.interceptors.request.use(
function (config) {
let url = new URL(config.url);
url.search = qs.stringify(qs.parse(url.search, { ignoreQueryPrefix: true }), {
encode: false,
skipNulls: true,
arrayFormat: 'comma',
commaRoundTrip: true,
});
config.url = url.href;
return config;
},
function (error) {
return Promise.reject(error);
},
);
Metadata
Metadata
Assignees
Labels
No labels