Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -509,8 +509,8 @@ |
510 | 510 | if ( ! array_key_exists( 'sort', $this->m_params ) || ! array_key_exists( 'order', $this->m_params ) ) { |
511 | 511 | $orders = array(); // do not even show one sort input here |
512 | 512 | } 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'] ); |
515 | 515 | reset( $sorts ); |
516 | 516 | } |
517 | 517 | |