瀏覽代碼

better description for podcastByType

root 1 年之前
父節點
當前提交
12e0734ad6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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')