ratiw / vuetable-2-tutorial

MIT License
258 stars 67 forks source link

Unwanted parameters in api call #84

Closed Tarasovych closed 6 years ago

Tarasovych commented 6 years ago

I have some api call inside vuetable:

<vuetable ref="vuetable" api-url="/api/data" :fields="fields"></vuetable>

But in Chrome console -> Network I see this request: http://mysite/api/data/?sort=&page=1&per_page=10. And my pagination doesn't work as well. I just see all my records on the first page and pagination links below the table. If this is caused by ?sort=&page=1&per_page=10, how can I remove it from api request?

JSON I get via api is the same as mentioned here.