From 2f44454633c801cda931f13ae6c79215c064d5af Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Fri, 1 Jan 2016 12:10:58 -0600
Subject: [PATCH] queue: Show inherited criteria for all saved searches

---
 include/staff/templates/advanced-search.tmpl.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/staff/templates/advanced-search.tmpl.php b/include/staff/templates/advanced-search.tmpl.php
index 7fae3244a..f0e3c65aa 100644
--- a/include/staff/templates/advanced-search.tmpl.php
+++ b/include/staff/templates/advanced-search.tmpl.php
@@ -35,7 +35,7 @@ foreach (CustomQueue::queues()->order_by('sort', 'title') as $q) { ?>
   <hr/>
   <div class="flex row">
     <div class="span12">
-<?php if ($queue && $queue->parent) { ?>
+<?php if ($queue) { ?>
       <div class="faded" style="margin-bottom: 1em">
       <div>
         <strong><?php echo __('Inherited Criteria'); ?></strong>
-- 
GitLab