Skip to content

Commit

Permalink
increase amount of pages in trending menu api to 10 pages
Browse files Browse the repository at this point in the history
  • Loading branch information
FO-nTTaX committed Mar 23, 2023
1 parent 9127ee1 commit 0a5d2f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Api/TrendingPages.php
Expand Up @@ -22,7 +22,7 @@ public function execute() {
'wiki' => $wiki
], __METHOD__, [
'ORDER BY' => 'hits DESC',
'LIMIT' => 5
'LIMIT' => 10
]
);
if ( $dbr->numRows( $res ) ) {
Expand Down
2 changes: 1 addition & 1 deletion src/Rest/TrendingPages.php
Expand Up @@ -47,7 +47,7 @@ public function run(): Response {
'wiki' => $wiki
], __METHOD__, [
'ORDER BY' => 'hits DESC',
'LIMIT' => 5
'LIMIT' => 10
]
);

Expand Down

0 comments on commit 0a5d2f8

Please sign in to comment.