Browse Source

better description for podcastByType

root 1 year ago
parent
commit
12e0734ad6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Controller/PodcastRorController.php

+ 1 - 1
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')