SearchPanes: does cascadePane=true lead to wrong count
SearchPanes: does cascadePane=true lead to wrong count
Link to test case: Cascade true SP 1.3 http://live.datatables.net/qawecefe/2/
Link to test case: Cascade true SP 2.0 http://live.datatables.net/redavove/1
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
Building on top of the example of rendering arrays in searchpanes, https://datatables.net/extensions/searchpanes/examples/advanced/renderArrays.html , I ran into the issue that with SearchPanes 2.0, the counting does not seem to work as with 1.3 for the column/searchpane containing the array. See the 2 testcases linked above. When using SP 2.0 and switching from cascadePanes: false to cascadePanes: true, the count for the term "Web-site" goes from 3 to 0. However, selecting "Web-Site" in the SP still leads to the table being filtered for the correct 3 rows containing "Web-Site."
Cheers
stefan
This question has accepted answers - jump to:
Answers
Thank you, that's a pretty convincing test case there. I've raised it internally (DD-2544 for my reference) and we'll report back here when there's an update.
Cheers,
Colin
Hi Stefan,
I've just committed a fix for this. Colin will be adding tests for it shortly and we'll get it out in the next release
Many thanks for the excellent bug report!
Allan
My pleasure ;-) For about half a day I thought I was doing s.th. wrong or misunderstand how orthogonal data and array rendering in SP works, until I createdthe testcases based on your example and figured there must be s.th. wrong
Using the nightly build files for SearchPanes this morning, I can confirm the fix is working - thanks for the quick turnaround!
Thanks for confirming!
Colin