orderBy param

This commit is contained in:
yuri
2018-10-22 15:11:06 +03:00
parent 049443f4cc
commit ba0ad4dfe9
90 changed files with 383 additions and 349 deletions

View File

@@ -130,10 +130,6 @@ class EntityManager extends \Espo\Core\Controllers\Base
$name = $data['name'];
$name = filter_var($name, \FILTER_SANITIZE_STRING);
if (!empty($data['sortDirection'])) {
$data['asc'] = $data['sortDirection'] === 'asc';
}
$result = $this->getContainer()->get('entityManagerUtil')->update($name, $data);
if ($result) {