summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202024-06-11 13:20:54 +0530
committerGitHub2024-06-11 13:20:54 +0530
commit2b5764ba9ca509e29eb51198736d9009f77f859d (patch)
treef4c5ef9dfe99a69cae3e414ebdbc3be2102e13cf
parent24bbe7cb56d680e3a71ffebb4e866ddbd993228f (diff)
downloadom_flowsheet-2b5764ba9ca509e29eb51198736d9009f77f859d.tar.gz
om_flowsheet-2b5764ba9ca509e29eb51198736d9009f77f859d.tar.bz2
om_flowsheet-2b5764ba9ca509e29eb51198736d9009f77f859d.zip
Arrange approval date in descending orderHEADmaster
-rwxr-xr-xflowsheet_details.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/flowsheet_details.inc b/flowsheet_details.inc
index f64ab42..ac14d59 100755
--- a/flowsheet_details.inc
+++ b/flowsheet_details.inc
@@ -52,6 +52,7 @@ function om_flowsheet_progress_all()
$query->fields('om_flowsheet_proposal');
$query->condition('approval_status', 1);
$query->condition('is_completed', 0);
+ $query->orderBy('approval_date', DESC);
$result = $query->execute();
if ($result->rowCount() == 0)
{