src/Kunstmaan/TranslatorBundle/AdminList/TranslationAdminListConfigurator.php 1 location
|
@@ 253-256 (lines=4) @@
|
250 |
|
} |
251 |
|
|
252 |
|
// Apply sorting |
253 |
|
if (!empty($this->orderBy)) { |
254 |
|
$orderBy = $this->orderBy; |
255 |
|
$this->queryBuilder->orderBy($orderBy, ($this->orderDirection == 'DESC' ? 'DESC' : 'ASC')); |
256 |
|
} |
257 |
|
} |
258 |
|
|
259 |
|
return $this->queryBuilder; |
src/Kunstmaan/AdminListBundle/AdminList/Configurator/AbstractDoctrineDBALAdminListConfigurator.php 1 location
|
@@ 160-163 (lines=4) @@
|
157 |
|
} |
158 |
|
|
159 |
|
// Apply sorting |
160 |
|
if (!empty($this->orderBy)) { |
161 |
|
$orderBy = $this->orderBy; |
162 |
|
$this->queryBuilder->orderBy($orderBy, ($this->orderDirection == 'DESC' ? 'DESC' : 'ASC')); |
163 |
|
} |
164 |
|
} |
165 |
|
|
166 |
|
return $this->queryBuilder; |