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; |
src/Kunstmaan/AdminListBundle/AdminList/Configurator/AbstractDoctrineDBALAdminListConfigurator.php 1 location
|
@@ 153-156 (lines=4) @@
|
150 |
|
} |
151 |
|
|
152 |
|
// Apply sorting |
153 |
|
if (!empty($this->orderBy)) { |
154 |
|
$orderBy = $this->orderBy; |
155 |
|
$this->queryBuilder->orderBy($orderBy, ($this->orderDirection == 'DESC' ? 'DESC' : 'ASC')); |
156 |
|
} |
157 |
|
} |
158 |
|
|
159 |
|
return $this->queryBuilder; |