Jake Vanderwerf
2026-01-22 58e8ae0759ccfa97c478ccae4e0778bdce70966f
inc/managers/CRUDManager.php
@@ -40,6 +40,11 @@
      $this->config = $this->constant[$content];
      $this->content = $content;
      $this->cache = CacheManager::for($content);
      if (JVB_TESTING) {
         $this->cache->clear();
      }
      // 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')) {
@@ -81,14 +86,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();