From e54531a69a7a8592352991ee4540b28825e74abf Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 19 Nov 2003 08:33:51 +0000 Subject: [PATCH] Preserve search namespace options across next/prev --- includes/SearchEngine.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/SearchEngine.php b/includes/SearchEngine.php index 7735318eb6..b153a72d2a 100644 --- a/includes/SearchEngine.php +++ b/includes/SearchEngine.php @@ -65,6 +65,10 @@ class SearchEngine { $ret = wfMsg("powersearchtext"); # Text to be returned $tempText = ""; # Temporary text, for substitution into $ret + if( isset( $_REQUEST["searchx"] ) ) { + $this->addtoquery["searchx"] = "1"; + } + # Do namespace checkboxes $namespaces = $wgLang->getNamespaces(); foreach ( $namespaces as $i => $namespace ) { -- 2.20.1