KReporter - csv export problem

Hi,

could you please help me with this one:

  • I use Kreporter 4.0.5 for reporting
  • Everything is fine, when I select a report and there are some pre-configured condiotions in it. Export is also working fine, except it is generating all rows twice…
  • But… if I change search parameters it shows updated search result on screen, but that doesnt affect to export file …

Is it cache related problem? Permission error?

Content of modules/KReports/Plugins/Integration/kcsvexport/controller/pluginkcsvexportcontroller.php as an attachment, is it a bug there? I guess following lines will cause that duplicate records problem:

echo $thisReport->createCSV($dynamicolsOverride);
$output = $thisReport->createCSV($dynamicolsOverride);