jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/373295 )

Change subject: ArticleInfo: Fix for subpage list sorting
......................................................................


ArticleInfo: Fix for subpage list sorting

Please see: https://gerrit.wikimedia.org/r/#/c/373294/

Change-Id: I09f3facb0852ee0888741358cafdbc3ae2021a00
ERM: #7287
---
M ArticleInfo/ArticleInfo.class.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Pwirth: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/ArticleInfo/ArticleInfo.class.php 
b/ArticleInfo/ArticleInfo.class.php
index 467f901..8c74f9b 100644
--- a/ArticleInfo/ArticleInfo.class.php
+++ b/ArticleInfo/ArticleInfo.class.php
@@ -501,7 +501,7 @@
                $oSubpageListView->setKey( 'Subpages' );
                $oSubpageListView->setHeading( wfMessage( 
'bs-articleinfo-subpages' )->plain() );
 
-               $aSubpages = $oTitle->getSubpages( -1 );
+               $aSubpages = BsArticleHelper::getSubpagesSorted( $oTitle, -1 );
 
                if ( count( $aSubpages ) > 100 ) {
                        $oSubpageListView->setBodyText( wfMessage( 
'bs-articleinfo-subpages-too-much' )->plain() );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I09f3facb0852ee0888741358cafdbc3ae2021a00
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: ItSpiderman <[email protected]>
Gerrit-Reviewer: Ljonka <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to