Skip to content

Commit

Permalink
fix double property scan
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-topway-it committed May 6, 2024
1 parent ee02fc1 commit b4a1289
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions formats/datatables/DataTables.php
Original file line number Diff line number Diff line change
Expand Up @@ -548,12 +548,13 @@ protected function getResultText( QueryResult $res, $outputmode ) {

$formattedOptions = $this->formatOptions( $datatablesOptions );

// for the order @see https://github.com/SemanticMediaWiki/SemanticResultFormats/issues/825
$result = $this->getResultJson( $res, $outputmode );

// @TODO use only one between printouts and printrequests
$resultArray = $res->toArray();
$printrequests = $resultArray['printrequests'];

$result = $this->getResultJson( $res, $outputmode );

$this->htmlTable = new HtmlTable();
foreach ( $headerList as $text ) {
$attributes = [];
Expand Down

0 comments on commit b4a1289

Please sign in to comment.