Matthias Mullie has submitted this change and it was merged.
Change subject: Set default sort for 'hidden' filter
......................................................................
Set default sort for 'hidden' filter
Change-Id: I049c67cf90384395cac2389fb922f4e7595b23f8
---
M ArticleFeedbackv5.php
M SpecialArticleFeedbackv5.php
2 files changed, 2 insertions(+), 1 deletion(-)
Approvals:
Matthias Mullie: Verified; Looks good to me, approved
diff --git a/ArticleFeedbackv5.php b/ArticleFeedbackv5.php
index 48fdb51..36b8a11 100644
--- a/ArticleFeedbackv5.php
+++ b/ArticleFeedbackv5.php
@@ -51,6 +51,7 @@
'inappropriate' => array( 'age', 'DESC' ),
'archived' => array( 'age', 'DESC' ),
'allcomment' => array( 'age', 'DESC' ),
+ 'hidden' => array( 'age', 'DESC' ),
'requested' => array( 'age', 'DESC' ),
'declined' => array( 'age', 'DESC' ),
'oversighted' => array( 'age', 'DESC' ),
diff --git a/SpecialArticleFeedbackv5.php b/SpecialArticleFeedbackv5.php
index 2af0b72..a550ab6 100644
--- a/SpecialArticleFeedbackv5.php
+++ b/SpecialArticleFeedbackv5.php
@@ -228,7 +228,7 @@
) {
$this->startingFilter = 'unreviewed';
$this->startingSort = 'relevance';
- $this->startingSortDirection = 'desc';
+ $this->startingSortDirection = 'DESC';
}
return ArticleFeedbackv5Model::getList(
--
To view, visit https://gerrit.wikimedia.org/r/53836
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I049c67cf90384395cac2389fb922f4e7595b23f8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ArticleFeedbackv5
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits