From 0a60c82b9474761ad88fd3f4ebcf7c1cbea174c3 Mon Sep 17 00:00:00 2001 From: Erin Bell Date: Wed, 17 Jul 2024 13:02:20 -0400 Subject: [PATCH] add featured to tours json --- views/helpers/TourJsonifier.php | 1 + 1 file changed, 1 insertion(+) diff --git a/views/helpers/TourJsonifier.php b/views/helpers/TourJsonifier.php index f710551..4eae6cc 100644 --- a/views/helpers/TourJsonifier.php +++ b/views/helpers/TourJsonifier.php @@ -50,6 +50,7 @@ public function tourJsonifier( $tour, $isExtended = false ){ $tour_metadata = array( 'id' => $tour->id, 'ordinal' => isset($tour->ordinal) ? $tour->ordinal : 0, + 'featured' => isset($tour->featured) ? $tour->featured : 0, 'title' => $tour->title, 'creator' => $tour->credits, 'description' => nl2p($tour->description),