diff --git a/application/tables/ImportedrowsTable.php b/application/tables/ImportedrowsTable.php index e80834f0..ca054b78 100644 --- a/application/tables/ImportedrowsTable.php +++ b/application/tables/ImportedrowsTable.php @@ -63,12 +63,15 @@ class ImportedrowsTable extends QuickTable public function getBaseQuery() { - return (new ArrayDatasource( + $ds = new ArrayDatasource( $this->connection()->fetchImportedRowsetRows( $this->checksum, null ) - ))->select()->order('object_name'); + ); + + return $ds->select()->order('object_name'); + // TODO: Remove? -> return $this->connection()->createImportedRowsetRowsQuery( $this->checksum )->order('object_name');