| Index: trunk/phase3/includes/specials/SpecialSearch.php |
| — | — | @@ -1069,7 +1069,8 @@ |
| 1070 | 1070 | * @return string |
| 1071 | 1071 | */ |
| 1072 | 1072 | protected function shortDialog( $term ) { |
| 1073 | | - $out = Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) . "\n"; |
| | 1073 | + $out = Html::hidden( 'title', $this->getTitle()->getPrefixedText() ); |
| | 1074 | + $out .= Html::hidden( 'profile', $this->profile ) . "\n"; |
| 1074 | 1075 | // Term box |
| 1075 | 1076 | $out .= Html::input( 'search', $term, 'search', array( |
| 1076 | 1077 | 'id' => $this->profile === 'advanced' ? 'powerSearchText' : 'searchText', |