Jake Vanderwerf
2026-03-08 c19264ac916707096fe294d996a1b7fb85206b34
inc/ui/CRUDSkeleton.php
@@ -216,14 +216,18 @@
    */
   public function addTaxonomyFilter(array $taxonomies, ?string $limit = null): self {
      foreach($taxonomies as $taxonomy) {
         error_log('Fetchinig taxonomy: '.print_r($taxonomy, true));
         $registrar = Registrar::getInstance($taxonomy);
         $this->taxonomies[$taxonomy] = [
            'type'   => 'taxonomy',
            'taxonomy'=> $taxonomy,
            'limit'  => $limit,
            'label'  => $registrar->getPlural(),
            'icon'   => $registrar->getIcon()
         ];
         if ($registrar) {
            $this->taxonomies[$taxonomy] = [
               'type'   => 'taxonomy',
               'taxonomy'=> $taxonomy,
               'limit'  => $limit,
               'label'  => $registrar->getPlural(),
               'icon'   => $registrar->getIcon()
            ];
         }
      }
      return $this;
@@ -977,7 +981,8 @@
               <option value="<?=$control?>"<?=$disabled?>><?=$label?></option>
               <?php
            }
            foreach ($this->taxonomies as $taxonomy) {
            foreach ($this->taxonomies as $taxonomy =>$config) {
               $registrar = Registrar::getInstance($taxonomy);
               if (!$registrar) continue;
               ?>
@@ -1624,7 +1629,6 @@
                  $section = (array_key_exists('section', $config)) ? $config['section'] : 'basic';
                  $tabs[$section]['content'] .= Form::render($n, '', $config);
               } else {
                  jvbDump($config, $n);
                  echo Form::render($n, '', $config);
               }
            }