summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-01-14 03:24:20 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-01-14 03:24:20 +0000
commitbf3c137097f4331fd456853898e06d86acfb0d9d (patch)
treedc71a26399fd74d2a3d601a17b48a45b44a54e59
parent6d8d934cd31b1315b9158fae0370a4b2eff9de05 (diff)
downloadbrdo-bf3c137097f4331fd456853898e06d86acfb0d9d.tar.gz
brdo-bf3c137097f4331fd456853898e06d86acfb0d9d.tar.bz2
Fixing search tabs going back to "content" when searching on other tabs.
-rw-r--r--modules/search.module2
-rw-r--r--modules/search/search.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/search.module b/modules/search.module
index 691c76486..2d197c904 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -583,7 +583,7 @@ function search_form($action = '', $keys = '', $type = null) {
$edit = $_POST['edit'];
if (!$action) {
- $action = url('search');
+ $action = url('search/'. $type);
}
if (!$type) {
$type = 'node';
diff --git a/modules/search/search.module b/modules/search/search.module
index 691c76486..2d197c904 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -583,7 +583,7 @@ function search_form($action = '', $keys = '', $type = null) {
$edit = $_POST['edit'];
if (!$action) {
- $action = url('search');
+ $action = url('search/'. $type);
}
if (!$type) {
$type = 'node';