better description for podcastByType

This commit is contained in:
root 2022-11-16 15:16:03 +01:00
parent 0e0965c83c
commit 12e0734ad6

View file

@ -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')