We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20aa1c7 commit c982b4bCopy full SHA for c982b4b
www/index.php
@@ -72,7 +72,7 @@ function search(array $args): void
72
if (!empty($q)) {
73
$key = strval($main->getConf('podsumer', 'podcastindex_key'));
74
$secret = strval($main->getConf('podsumer', 'podcastindex_secret'));
75
- $all = PodcastIndex::search($q, $page * $per_page, $key, $secret);
+ $all = PodcastIndex::search($q, 1000, $key, $secret);
76
$page_count = max(1, intval(ceil(count($all) / $per_page)));
77
$results = array_slice($all, ($page - 1) * $per_page, $per_page);
78
}
0 commit comments