New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
同时设置pageNumber和searchText初始值会冲突 #2580
Comments
I've just stumbled upon the same issue probably. When I use server pagination and I set both
The problem seems to be in the fact that despite of the presence of this.searchText = this.options.searchText; under this line works (the if evaluates to |
Ping. Any update here? This is causing us some trouble. Is there anything wrong with @jonatanklosko's suggested workaround? |
Fixed in the latest version. |
同时设置pageNumber和searchText初始值会有冲突,造成pageNumber值无效
$table.bootstrapTable({
url: "XXXX",
toolbar:'.toolbar',
showColumns: true,
striped: true,
pagination: true,
pageList: [20,30,50],
pageSize:20,
pageNumber:2,
sortOrder:'desc',
search:true,
searchText:"ja",
sidePagination:'server'
});
The text was updated successfully, but these errors were encountered: