Page MenuHomePhabricator

$smwgQMaxInlineLimit $smwgQMaxLimit have no effect on CSV export
Closed, ResolvedPublic

Description

Author: wasilis

Description:
The file

SMW_QP_CSV.php

in

extensions/SemanticMediawiki/includes/queryprinters

contains the code

$definitions['limit']->setDefault( 100 );

.

Therefore $smwgQMaxInlineLimit and $smwgQMaxLimit are ignored.

I deleted that line locally and now these variables have an effect on the number of rows in CSV files. But maybe more is necessary?

Cheers, Basil


Version: master
Severity: normal

Details

Reference
bz48756

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:26 AM
bzimport set Reference to bz48756.
bzimport added a subscriber: Unknown Object (MLST).

patelmm79 wrote:

I was just about to report this issue, I can confirm it is happening to me.

The code is now in CsvResultPrinter.php. However, is is unchanged in this respect. Changing from UNCONFIRMED to NEW as well as importance from Unprioritized/trivial to Normal/normal. It would be cool to have a fix for this in the upcoming 1.9 relaase.

This bug was transferred to GitHub [1]. Thus closing as RESOLVED FIXED here to undupe it.

[1] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/242