src/Kunstmaan/AdminListBundle/AdminList/Configurator/AbstractDoctrineDBALAdminListConfigurator.php 1 location
|
@@ 159-162 (lines=4) @@
|
156 |
|
} |
157 |
|
|
158 |
|
// Apply sorting |
159 |
|
if (!empty($this->orderBy)) { |
160 |
|
$orderBy = $this->orderBy; |
161 |
|
$this->queryBuilder->orderBy($orderBy, ($this->orderDirection == 'DESC' ? 'DESC' : 'ASC')); |
162 |
|
} |
163 |
|
} |
164 |
|
|
165 |
|
return $this->queryBuilder; |
src/Kunstmaan/TranslatorBundle/AdminList/TranslationAdminListConfigurator.php 1 location
|
@@ 297-300 (lines=4) @@
|
294 |
|
} |
295 |
|
|
296 |
|
// Apply sorting |
297 |
|
if (!empty($this->orderBy)) { |
298 |
|
$orderBy = $this->orderBy; |
299 |
|
$this->queryBuilder->orderBy($orderBy, ($this->orderDirection == 'DESC' ? 'DESC' : 'ASC')); |
300 |
|
} |
301 |
|
} |
302 |
|
|
303 |
|
return $this->queryBuilder; |