From 0113d2e9c9ff34a6ffb10707cc76d34b67a0c367 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 19 Jan 2026 16:29:41 +0000
Subject: [PATCH] =Refactored window.getTemplate into a full templating class window.jvbTemplates. Refactored CRUD.js, UploadManager.js, FormController.js, PopulateForm.js with that in mind
---
inc/rest/routes/QueueRoutes.php | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/inc/rest/routes/QueueRoutes.php b/inc/rest/routes/QueueRoutes.php
index 0346eee..21bce8f 100644
--- a/inc/rest/routes/QueueRoutes.php
+++ b/inc/rest/routes/QueueRoutes.php
@@ -193,7 +193,8 @@
'progress_count' => intval($operation['progress_count'] ?? 0),
'count' => intval($operation['count'] ?? 1),
'retries' => intval($operation['retries'] ?? 0),
- 'data' => json_decode($operation['request_data'] ?? '{}', true)
+ 'data' => json_decode($operation['request_data'] ?? '{}', true),
+ 'result' => json_decode($operation['result']??'{}', true)
];
// Convert timestamps to ISO 8601 format with proper timezone
@@ -371,7 +372,7 @@
case 'cancel':
// Can only cancel pending/queued operations
if (!in_array($operation_status, ['pending', 'queued'])) {
- $errors[] = "Operation {$operation_id} cannot be cancelled (status: {$operation_status})";
+// $errors[] = "Operation {$operation_id} cannot be cancelled (status: {$operation_status})";
continue 2;
}
--
Gitblit v1.10.0