Merge "SpecialSearch: Fix overlap between results info and search bar"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 3 Jul 2014 15:42:10 +0000 (15:42 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 3 Jul 2014 15:42:10 +0000 (15:42 +0000)
1  2 
includes/specials/SpecialSearch.php

@@@ -114,7 -114,7 +114,7 @@@ class SpecialSearch extends SpecialPag
         */
        public function load() {
                $request = $this->getRequest();
 -              list( $this->limit, $this->offset ) = $request->getLimitOffset( 20 );
 +              list( $this->limit, $this->offset ) = $request->getLimitOffset( 20, '' );
                $this->mPrefix = $request->getVal( 'prefix', '' );
  
                $user = $this->getUser();
                                ->params( wfEscapeWikiText( $term ) )
                                ->numParams( $resultsShown )
                                ->parse();
-                       $out .= Xml::tags( 'div', array( 'class' => 'results-info' ), $top );
+                       $out .= Xml::tags( 'div', array( 'class' => 'results-info' ), $top ) .
+                               Xml::element( 'div', array( 'style' => 'clear:both' ) );
                }
  
                return $out . $this->didYouMeanHtml;