From 474109a5df0a06f5343ab184838fe2d80e3872a8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 11 Jan 2026 19:23:20 +0000
Subject: [PATCH] =Fixed timeline CRUD.js issue where this.activeItem was set null when we still needed it

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

diff --git a/inc/managers/CRUDManager.php b/inc/managers/CRUDManager.php
index b129c15..b868510 100644
--- a/inc/managers/CRUDManager.php
+++ b/inc/managers/CRUDManager.php
@@ -40,6 +40,9 @@
 		$this->config = $this->constant[$content];
 		$this->content = $content;
 		$this->cache = CacheManager::for($content);
+
+		$this->cache->clear();
+
 		// Create and configure skeleton
 		$this->skeleton = new CRUDSkeleton();
 		$this->configure();
@@ -60,7 +63,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