Christopher Johnson (WMDE) has submitted this change and it was merged.

Change subject: increases display length of result set for Sprint List to 100 
rows
......................................................................


increases display length of result set for Sprint List to 100 rows

Change-Id: Ib7d17ae94ea27f588b9b1d3c416c52e6d6c6f9dd
---
M rsrc/behavior-sprint-table.js
M src/storage/SprintListDataProvider.php
2 files changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Christopher Johnson (WMDE): Verified; Looks good to me, approved



diff --git a/rsrc/behavior-sprint-table.js b/rsrc/behavior-sprint-table.js
index 0a312d7..37e5358 100644
--- a/rsrc/behavior-sprint-table.js
+++ b/rsrc/behavior-sprint-table.js
@@ -6,6 +6,7 @@
     jQuery( document ).ready(function ($) {
         $('#sprint-list').DataTable({
             "order": [[ 0, "asc" ]],
+            "iDisplayLength": 100,
             "aoColumnDefs": [
                 { "bVisible": false, "aTargets": [ 2 ] },
                 { "iDataSort": 2, "aTargets": [ 3 ] },
diff --git a/src/storage/SprintListDataProvider.php 
b/src/storage/SprintListDataProvider.php
index 5b3378c..8870e25 100644
--- a/src/storage/SprintListDataProvider.php
+++ b/src/storage/SprintListDataProvider.php
@@ -5,8 +5,6 @@
   private $request;
   private $sprint_phids;
   private $sprints;
-  private $order;
-  private $reverse;
   private $rows;
 
   public function setViewer ($viewer) {

-- 
To view, visit https://gerrit.wikimedia.org/r/206089
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib7d17ae94ea27f588b9b1d3c416c52e6d6c6f9dd
Gerrit-PatchSet: 1
Gerrit-Project: phabricator/extensions/Sprint
Gerrit-Branch: master
Gerrit-Owner: Christopher Johnson (WMDE) <christopher.john...@wikimedia.de>
Gerrit-Reviewer: Christopher Johnson (WMDE) <christopher.john...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to