Issue after upgrade 1.13 bs5
Issue after upgrade 1.13 bs5
Warbountho
Posts: 17Questions: 7Answers: 0
Hello,
After i have upgraded, i cannot filter anymore my bs5 datatables.
Anyone with the same issue?
Thank you!
This question has an accepted answers - jump to answer
Answers
Can you show me how you are loading and using DataTables (i.e. the initialisation code)? If you can link to a test page showing the issue, that would be really useful.
Also, I just noticed that 1.13.0 for DataTables core was not released until a few minutes ago. So it might be that you need to update the
datatables.net
package to 1.13.0. Sorry about that.Allan
Np, i updated the core, but i always have the issue.
I also noticed that i have the same issue if i order a column.
All my tables are ajax sourced.
I don't have a link sorry.
But i read here:
https://github.com/DataTables/Dist-DataTables-Bootstrap5/blob/483543c33326a08db97af9f48b318b814ac75c72/js/dataTables.bootstrap5.js#L181
var paginationAttr = paginationEl.length > 0 ? paginationEl.attr() : {'class': 'pagination'};
.attr()
without attribute name?Thanks!
Got it now. Thanks for flagging this up! I've committed a fix to address this. I'll get a 1.13.1 release out in about an hour.
Allan
That's 1.13.1 available on NPM. It isn't in our download builder yet, but will be soon.
Allan
disregard this post. Thank you for the fix and your work Allan!
Awesome - good to hear that did the job
Everything working fine and all cypress tests passed, big thank you to you allan and thanks for the hard work you put in DataTables, it's cool you share that with your community