Skip to content
Snippets Groups Projects
Commit af1b3944 authored by Mayur Jadhav's avatar Mayur Jadhav
Browse files

RG-192 WOrked on db error on sorting by name

parent 94dc02c3
No related branches found
No related tags found
No related merge requests found
......@@ -283,7 +283,7 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
foreach ($sort->_vars as $key => $value) {
if ($value['name'] == "status_weight" && 1 == $key) {
$sort = trim($sort->orderBy());
$sort .= ', grant_application_received_date DESC';
$sort .= ', application_received_date DESC';
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment