From 86ffcc88def423f9065eee35125aa9c221ccaf6d Mon Sep 17 00:00:00 2001 From: Jukka Lampikoski Date: Tue, 10 Mar 2026 18:08:53 +0200 Subject: [PATCH] fix: include priority field in ticket list API response Priority was missing from the tickets list endpoint, so colors weren't showing in the ticket table. Co-Authored-By: Claude Opus 4.6 --- api.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api.php b/api.php index 0bf5a56..4a472ce 100644 --- a/api.php +++ b/api.php @@ -1604,6 +1604,7 @@ switch ($action) { 'customer_id' => $t['customer_id'] ?? '', 'customer_name' => $t['customer_name'] ?? '', 'tags' => $t['tags'] ?? [], + 'priority' => $t['priority'] ?? 'normaali', 'auto_close_at' => $t['auto_close_at'] ?? '', 'mailbox_id' => $t['mailbox_id'] ?? '', 'mailbox_name' => $mailboxNames[$t['mailbox_id'] ?? ''] ?? '',