Skip to content
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

maintainMetaData + FilterControl + AJAX bug #5820

Closed
wpicinato opened this issue Aug 4, 2021 · 1 comment · Fixed by #5583
Closed

maintainMetaData + FilterControl + AJAX bug #5820

wpicinato opened this issue Aug 4, 2021 · 1 comment · Fixed by #5583
Assignees
Labels
Bug Issues which are marked as Bug filter-control Issues for the filter-control extension. fixed Issues already fixed in develop branch or a pull request. has PR Issues that has been fixed with a PR.

Comments

@wpicinato
Copy link

wpicinato commented Aug 4, 2021

Bootstraptable version(s) affected:
1.18.3

Description
When table is loaded by AJAX, FilterControl and MaintainMetaData are set, the method check first row from AJAX, even if we didn't do it.
Problem appears when we select Filter table data and check a row.

Example
https://live.bootstrap-table.com/code/wpicinato/8534

Additional context
This bug does not appear when the table is loaded from the data option (https://live.bootstrap-table.com/code/wpicinato/8535), also when the FilterControl is unset (https://live.bootstrap-table.com/code/wpicinato/8536).

@wpicinato wpicinato added the Bug Issues which are marked as Bug label Aug 4, 2021
@djhvscf djhvscf added the filter-control Issues for the filter-control extension. label Aug 4, 2021
@djhvscf djhvscf self-assigned this Aug 4, 2021
@djhvscf
Copy link
Collaborator

djhvscf commented Nov 25, 2021

This is fixed here: #5583

Example with the fix: https://live.bootstrap-table.com/code/djhvscf/9720

@djhvscf djhvscf added fixed Issues already fixed in develop branch or a pull request. has PR Issues that has been fixed with a PR. labels Nov 25, 2021
@djhvscf djhvscf mentioned this issue Nov 25, 2021
36 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues which are marked as Bug filter-control Issues for the filter-control extension. fixed Issues already fixed in develop branch or a pull request. has PR Issues that has been fixed with a PR.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants