dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix handling of qplimit/qpoffset and cachedtimestamp in QueryPage api module
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryQueryPage.php
diff --git
a/includes/api/ApiQueryQueryPage.php
b/includes/api/ApiQueryQueryPage.php
index
c4b3a6f
..
41c9c48
100644
(file)
--- a/
includes/api/ApiQueryQueryPage.php
+++ b/
includes/api/ApiQueryQueryPage.php
@@
-103,7
+103,7
@@
class ApiQueryQueryPage extends ApiQueryGeneratorBase {
return;
}
- $res = $qp->doQuery( $params['
limit'] + 1, $params['offset']
);
+ $res = $qp->doQuery( $params['
offset'], $params['limit'] + 1
);
$count = 0;
$titles = array();
foreach ( $res as $row ) {