From 3b5ed20d18fa877b1ec06afbccc32a38e68b6bc8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 08 Jan 2026 16:51:27 +0000
Subject: [PATCH] =Queue.js refactor

---
 inc/managers/CRUDManager.php |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/inc/managers/CRUDManager.php b/inc/managers/CRUDManager.php
index 49ec9c6..d425070 100644
--- a/inc/managers/CRUDManager.php
+++ b/inc/managers/CRUDManager.php
@@ -40,6 +40,7 @@
 		$this->config = $this->constant[$content];
 		$this->content = $content;
 		$this->cache = CacheManager::for($content);
+
 		// Create and configure skeleton
 		$this->skeleton = new CRUDSkeleton();
 		$this->configure();
@@ -60,7 +61,7 @@
 		// Initialize meta
 		$this->skeleton->initMeta($this->type, $this->content);
 
-
+		$this->skeleton->addSearch();
 
 		// Timeline if applicable
 		if (Features::forContent($this->content)->has('is_timeline')) {
@@ -81,14 +82,15 @@
 		// Statuses
 		if (Features::forContent($this->content)->has('is_calendar')) {
 			$this->skeleton->setCalendar();
-		}else {
-			$this->skeleton->setDefaultStatus();
 		}
 
+		$this->skeleton->setDefaultStatus();
+
 		// Views
 		$this->skeleton
-			->addViews(['grid', 'list', 'table'])
+			->addViews()
 			->defaultView('grid');
+		$this->skeleton->addItemActions();
 
 		// Filters
 		$this->skeleton->addDateFilter();

--
Gitblit v1.10.0