'Enable filtering' does not seem to work anymore
Hi!
We are currently using version 3.1.0 for different projects. In one big project/coverage report (Assemblies: 8; Classes: 2367; Files: 2611; Coverable lines: 421381) clicking the 'Enable filtering' button doesn't do anything anymore.
In another project (much smaller) the 'Enable filtering' button will immediately replaced (without clicking it) with the filter controls and is working fine.
Most likely a duplicate of #116 If report contains more than 1500 classes, filtering is disabled and you have to activate it via a button click.
Hi!
If you need a report, i can provide it - but i would need some time to anonymize the data.
Maybe the following info can help you: "If report contains more than 1500 classes, filtering is disabled and you have to activate it via a button click." - yeah, the problem is, the button does not "activate" the filter controls.
I noticed the following:
I opened the file directly in the browser (chrome) with "file:///C:/
Thanks for the additional hints.
I will try to create a sample report myself. No need to anonymize the data.
We're seeing the same issue after upgrading from 3.0.2 to 3.1.1.
I looked through the code briefly though I am not very familiar with Angular but it seems like the issue may be here:
https://github.com/danielpalme/ReportGenerator/blob/master/src/ReportGenerator.Reporting/Rendering/HtmlRenderer.cs#L274
The button runs enableFiltering() but it looks like the function was renamed to enableCoverageTableFiltering here:
https://github.com/danielpalme/ReportGenerator/commit/33a8fb3dcf09dc4a5d72f391f54b3621660c6185#diff-20a7a8b78a1bc53c929edfc516f42bb3L9
@shunter Thanks for your analysis. Will fix that soon.
Fixed in new release: https://www.nuget.org/packages/ReportGenerator/3.1.2