src/Kunstmaan/AdminListBundle/AdminList/Configurator/AbstractDoctrineDBALAdminListConfigurator.php 1 location
|
@@ 166-169 (lines=4) @@
|
163 |
|
} |
164 |
|
|
165 |
|
// Apply sorting |
166 |
|
if (!empty($this->orderBy)) { |
167 |
|
$orderBy = $this->orderBy; |
168 |
|
$this->queryBuilder->orderBy($orderBy, ($this->orderDirection == 'DESC' ? 'DESC' : 'ASC')); |
169 |
|
} |
170 |
|
} |
171 |
|
|
172 |
|
return $this->queryBuilder; |
src/Kunstmaan/TranslatorBundle/AdminList/TranslationAdminListConfigurator.php 1 location
|
@@ 233-236 (lines=4) @@
|
230 |
|
} |
231 |
|
|
232 |
|
// Apply sorting |
233 |
|
if (!empty($this->orderBy)) { |
234 |
|
$orderBy = $this->orderBy; |
235 |
|
$this->queryBuilder->orderBy($orderBy, ($this->orderDirection == 'DESC' ? 'DESC' : 'ASC')); |
236 |
|
} |
237 |
|
} |
238 |
|
|
239 |
|
return $this->queryBuilder; |