SAAS-1158: Station podcast on Radio Page design implementation
Fix some pagination functionality
This commit is contained in:
parent
ea9f0c8929
commit
372e28f82e
7 changed files with 78 additions and 47 deletions
|
@ -240,7 +240,7 @@ class Application_Service_PodcastEpisodeService extends Application_Service_Thir
|
|||
|
||||
$episodes = PodcastEpisodesQuery::create()
|
||||
->filterByDbPodcastId($podcastId);
|
||||
if ($isStationPodcast) {
|
||||
if ($isStationPodcast && $limit != 0) {
|
||||
$episodes = $episodes->setLimit($limit);
|
||||
}
|
||||
// XXX: We should maybe try to alias this so we don't pass CcFiles as an array key to the frontend.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue