summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202024-06-11 13:22:16 +0530
committerGitHub2024-06-11 13:22:16 +0530
commit5e2c3828db9503765e237e8530e5bf805a2ad251 (patch)
tree4f22256148ca89071ec80be8ab886df21f27a815
parentea0472145b848b8535095f31ab975c0cb1ad0c87 (diff)
downloadom_pssp-master.tar.gz
om_pssp-master.tar.bz2
om_pssp-master.zip
Arrange approval date in descending orderHEADmaster
-rwxr-xr-xpssp_details.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/pssp_details.inc b/pssp_details.inc
index 2fc72a4..267f828 100755
--- a/pssp_details.inc
+++ b/pssp_details.inc
@@ -60,6 +60,7 @@ function om_pssp_progress_all()
$query->fields('om_pssp_proposal');
$query->condition('approval_status', 1);
$query->condition('is_completed', 0);
+ $query->orderBy('approval_date', DESC);
$result = $query->execute();
if ($result->rowCount() == 0)
{