update APP_DELAY and APP_THREAD

This commit is contained in:
Paula Quispe
2017-02-13 14:16:04 -04:00
parent efb1576cb5
commit fce4dbc8b3
13 changed files with 28 additions and 369 deletions

View File

@@ -125,7 +125,7 @@ class Applications
//Filters
if (!empty($sort)) {
if ($sort === 'APP_NUMBER') {
if ($sort === 'APP_NUMBER' || $sort === 'APPLICATION.APP_NUMBER') {
$sort = 'APP_DELEGATION.APP_NUMBER';
}
$sqlWhere .= " ORDER BY " . $sort;