Yaron Koren has submitted this change and it was merged.
Change subject: Added handling of "limit" to Special:ViewData
......................................................................
Added handling of "limit" to Special:ViewData
Change-Id: I1b0733196ef23d159517f27e4e2de2cd24129924
---
M specials/CargoViewData.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Yaron Koren: Checked; Looks good to me, approved
diff --git a/specials/CargoViewData.php b/specials/CargoViewData.php
index cf31cbd..9c823b1 100644
--- a/specials/CargoViewData.php
+++ b/specials/CargoViewData.php
@@ -107,7 +107,7 @@
$groupByStr = $req->getVal( 'group_by' );
$havingStr = $req->getVal( 'having' );
$orderByStr = $req->getVal( 'order_by' );
- $limitStr = null;
+ $limitStr = $req->getVal( 'limit' );
$this->sqlQuery = CargoSQLQuery::newFromValues( $tablesStr,
$fieldsStr, $whereStr, $joinOnStr,
$groupByStr, $havingStr, $orderByStr, $limitStr
);
--
To view, visit https://gerrit.wikimedia.org/r/230147
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1b0733196ef23d159517f27e4e2de2cd24129924
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cargo
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits