From 8c6502de2f8ec2bd8382cd6945c327d7be400e14 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 28 Jan 2026 05:34:41 +0000
Subject: [PATCH] =Queue cleanup - seems to be working enough to get legacy before and after going!

---
 inc/managers/CRUDManager.php |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/inc/managers/CRUDManager.php b/inc/managers/CRUDManager.php
index b129c15..6635406 100644
--- a/inc/managers/CRUDManager.php
+++ b/inc/managers/CRUDManager.php
@@ -14,7 +14,7 @@
  */
 class CRUD {
 	protected CRUDSkeleton $skeleton;
-	protected CacheManager $cache;
+	protected Cache $cache;
 	protected array $config;
 	protected string $content;
 	protected array $taxonomies = [];
@@ -39,7 +39,12 @@
 		$this->user_id = get_current_user_id();
 		$this->config = $this->constant[$content];
 		$this->content = $content;
-		$this->cache = CacheManager::for($content);
+		$this->cache = Cache::for('crud')->connect('post')->connect('taxonomy');
+
+		if (JVB_TESTING) {
+			$this->cache->flush();
+		}
+
 		// Create and configure skeleton
 		$this->skeleton = new CRUDSkeleton();
 		$this->configure();
@@ -60,7 +65,7 @@
 		// Initialize meta
 		$this->skeleton->initMeta($this->type, $this->content);
 
-
+		$this->skeleton->addSearch();
 
 		// Timeline if applicable
 		if (Features::forContent($this->content)->has('is_timeline')) {

--
Gitblit v1.10.0