'refresh' method doesn't reuse parameters provided as "query", it only takes "url". #7318
Labels
awaiting reply
Issues that are awaiting reply, will be closed if there is no any response in 7 days.
Bug
Issues which are marked as Bug
needs example
Need an example in order to confirm the issue or the PR.
Bootstraptable version(s) affected
1.22.5 (latest)
Description
Unfortunately "refresh" button on toolbar is useless, if I originally provide the request parameters as "query" property, instead of straightforward GET-query, as part of "url" property.
So if I originally provide data as follows, this will not work on manual "refresh" (click on refresh button on toolbar), it will just ignore "query" on repeating request:
However, the following will work:
I think it should not ignore data provided in "query" on repeating "refreshes".
The workaround provided above is works for me, so I don't submitting the pool request, but would switch to "query" if it will be fixed in further Bootstrap Table versions.
Example(s)
No response
Possible Solutions
Fix initServer() method, reuse saved "query" parameter from previous "refresh" request.
Additional Context
No response
The text was updated successfully, but these errors were encountered: