From 8a9d7e12be3e4707bdec9838f5054bdd476df5d7 Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@enhancesoft.com>
Date: Thu, 28 Jun 2018 06:12:31 +0000
Subject: [PATCH] Subject Column condition

Make subjects bold (by default) when ticket is unanswered
---
 include/class.queue.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/class.queue.php b/include/class.queue.php
index 338b582bb..3892b05ff 100644
--- a/include/class.queue.php
+++ b/include/class.queue.php
@@ -678,6 +678,7 @@ class CustomQueue extends VerySimpleModel {
                 "bits" => QueueColumn::FLAG_SORTABLE,
                 "filter" => "link:ticket",
                 "annotations" => '[{"c":"TicketThreadCount","p":">"},{"c":"ThreadAttachmentCount","p":"a"},{"c":"OverdueFlagDecoration","p":"<"}]',
+                "conditions" => '[{"crit":["isanswered","set",null],"prop":{"font-weight":"bold"}}]',
                 "truncate" => 'ellipsis',
             )),
             QueueColumn::placeholder(array(
-- 
GitLab