Procházet zdrojové kódy

better description for podcastByType

root před 1 rokem
rodič
revize
12e0734ad6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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')