From 235ce5716edc2f7cbe80fdccf26eac7269587839 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 08 Jun 2026 04:38:18 +0000
Subject: [PATCH] =FavouritesManager.php and FavouritesRoutes.php fixes. Moving all logic to FavouritesManager.php. Still some left to do

---
 inc/users/UserSettings.php |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/inc/users/UserSettings.php b/inc/users/UserSettings.php
index 1ee08e9..246d3c1 100644
--- a/inc/users/UserSettings.php
+++ b/inc/users/UserSettings.php
@@ -126,17 +126,19 @@
                 'section'   => 'newsletter',
             ],
             'owner_of'    => [
-                'type' => 'taxonomy',
+                'type' => 'selector',
+				'subtype'=> 'taxonomy',
                 'label'    => __('Owner of', 'jvb'),
-                'taxonomy_type' => 'reference',
+                'isReference' => true,
                 'taxonomy' => BASE. 'shop',
                 'quickEdit'    => true,
                 'default'    => '',
             ],
             'manager_of'    => [
-                'type' => 'taxonomy',
+                'type' => 'selector',
+                'subtype' => 'taxonomy',
                 'label'    => __('Manager of', 'jvb'),
-                'taxonomy_type' => 'reference',
+                'isReference' => true,
                 'taxonomy' => BASE. 'shop',
                 'hidden'    => true,
                 'default'    => '',
@@ -169,7 +171,7 @@
         <div class="notification-preferences">
             <?php foreach ($favourites as $type => $items) : ?>
                 <details class="notification-group">
-                    <summary class="notification-group-header row btw">
+                    <summary class="notification-group-header row x-btw">
                         <span class="type-label"><?=jvbIcon('heart', ['style' => 'fill'])?> <?= $notify[$type] ?></span>
                         <span class="type-count">( <?= count($items); ?> )</span>
                     </summary>

--
Gitblit v1.10.0