From 3d82a0bb1f2bfd73fbf8603e7c92a56855a3beaa Mon Sep 17 00:00:00 2001 From: Benn Oshrin Date: Wed, 19 Nov 2025 19:30:32 -0500 Subject: [PATCH] Additional commit for CFM-338 (CFM-492) --- app/src/Controller/StandardController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/Controller/StandardController.php b/app/src/Controller/StandardController.php index 8c31a8ce4..4a3326b36 100644 --- a/app/src/Controller/StandardController.php +++ b/app/src/Controller/StandardController.php @@ -503,7 +503,7 @@ public function edit(string $id) { $archives = $table->find() ->applyOptions(['archived' => true]) ->where([$clAttr => $id]) - ->order(['revision' => 'DESC']) + ->orderBy(['revision' => 'DESC']) ->all(); $this->set('vv_archives', $archives); @@ -840,7 +840,7 @@ public function view($id = null) { $archives = $table->find() ->applyOptions(['archived' => true]) ->where([$clAttr => $id]) - ->order(['revision' => 'DESC']) + ->orderBy(['revision' => 'DESC']) ->all(); $this->set('vv_archives', $archives);