From 12e0734ad60d1bca5f0afa589a57f52a8e2e299d Mon Sep 17 00:00:00 2001 From: root Date: Wed, 16 Nov 2022 15:16:03 +0100 Subject: [PATCH] better description for podcastByType --- src/Controller/PodcastRorController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/PodcastRorController.php b/src/Controller/PodcastRorController.php index 1c847b5..9175558 100644 --- a/src/Controller/PodcastRorController.php +++ b/src/Controller/PodcastRorController.php @@ -112,7 +112,7 @@ class PodcastRorController extends ControllerBase { $query = \Drupal::entityQuery('node') ->condition('type', $contentType); // TODO: get "nice name" for $contentType - return $this->podcast($query, $contentType); + return $this->podcast($query, str_replace('+', ', ', $contentType)); } public function podcastByTrxID($trxID) { $query = \Drupal::entityQuery('node')