jenkins-bot has submitted this change and it was merged.
Change subject: Change default sort to "recently active"
......................................................................
Change default sort to "recently active"
Bug: T108314
Change-Id: I53970424ee3654eca60ce7b4cc9d1e39b33c36cf
---
M Flow.php
M tests/phpunit/api/ApiFlowViewTopicListTest.php
2 files changed, 3 insertions(+), 2 deletions(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/Flow.php b/Flow.php
index cc92149..83d127c 100644
--- a/Flow.php
+++ b/Flow.php
@@ -264,7 +264,7 @@
// Default sort order of a topiclist view. See TopicListBlock::getFindOptions()
// for more information.
-$wgDefaultUserOptions['flow-topiclist-sortby'] = 'newest';
+$wgDefaultUserOptions['flow-topiclist-sortby'] = 'updated';
// Default editor to use in Flow
$wgDefaultUserOptions['flow-editor'] = 'none';
diff --git a/tests/phpunit/api/ApiFlowViewTopicListTest.php
b/tests/phpunit/api/ApiFlowViewTopicListTest.php
index 0388cc8..4f275b9 100644
--- a/tests/phpunit/api/ApiFlowViewTopicListTest.php
+++ b/tests/phpunit/api/ApiFlowViewTopicListTest.php
@@ -71,7 +71,7 @@
'result' => array(
'topiclist' => array(
'submitted' => array(
- 'sortby' =>
'user',
+ 'sortby' =>
'newest',
),
'sortby' => 'newest',
'roots' => array(),
@@ -92,6 +92,7 @@
'page' => 'Talk:Intentionally blank',
'submodule' => 'view-topiclist',
'vtllimit' => 2,
+ 'vtlsortby' => 'newest',
'vtltoconly' => true,
'vtlformat' => 'fixed-html',
)
--
To view, visit https://gerrit.wikimedia.org/r/230976
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I53970424ee3654eca60ce7b4cc9d1e39b33c36cf
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits