From 03e044e90698d6e7f006d582cf96eb84e550e638 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Thu, 9 Jan 2025 02:55:24 +0800 Subject: [PATCH] Admin Workflow - Admin UI to search and export data --- .../Processors/FetchFirstQuestionV1AdminWFProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Questionnaires/Processors/FetchFirstQuestionV1AdminWFProcessor.php b/app/Classes/Modules/Questionnaires/Processors/FetchFirstQuestionV1AdminWFProcessor.php index c2448786..2bebe260 100644 --- a/app/Classes/Modules/Questionnaires/Processors/FetchFirstQuestionV1AdminWFProcessor.php +++ b/app/Classes/Modules/Questionnaires/Processors/FetchFirstQuestionV1AdminWFProcessor.php @@ -27,7 +27,7 @@ class FetchFirstQuestionV1AdminWFProcessor try { $setId = $request->route('set_id'); if($setId === '0'){ - $set = QAQuestionnaireSet::where('group', 'workflow')->latest('id')->first(); + $set = QAQuestionnaireSet::where('group', '1688,approve_po,fill_po')->latest('id')->first(); $setId = $set->id; } $query = $this->fetchesQuestion->execute(['questionnaire_set_id' => $setId]);