You need to update SRF.Latest version supports the filename parameter.
At least that's what I see in the source, did not try.

https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/includes/queryprinters/CsvResultPrinter.php

On 19 August 2014 19:27, Hans Oleander <hans.olean...@gmail.com> wrote:
> Hello,
>
> anybody around knowing why the output file name for CSV should be hard
> coded, while e.g. DSV takes parameters?
>
> Line 56 in
> extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_CSV.php  says:
>     public function getFileName( SMWQueryResult $queryResult ) {
>         return 'result.csv';
>     }
>
> vs. line 62 in
> extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_DSV.php
>
>     public function getFileName( SMWQueryResult $queryResult ) {
>         return $this->fileName;
>
> Best,
> Hans
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>

------------------------------------------------------------------------------
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to