r104570 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104569‎ | r104570 | r104571 >
Date:15:55, 29 November 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php
@@ -509,8 +509,8 @@
510510 if ( ! array_key_exists( 'sort', $this->m_params ) || ! array_key_exists( 'order', $this->m_params ) ) {
511511 $orders = array(); // do not even show one sort input here
512512 } else {
513 - $sorts = $this->m_params['sort'];
514 - $orders = $this->m_params['order'];
 513+ $sorts = explode( ',', $this->m_params['sort'] );
 514+ $orders = explode( ',', $this->m_params['order'] );
515515 reset( $sorts );
516516 }
517517