diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-01-14 03:24:20 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-01-14 03:24:20 +0000 |
commit | bf3c137097f4331fd456853898e06d86acfb0d9d (patch) | |
tree | dc71a26399fd74d2a3d601a17b48a45b44a54e59 | |
parent | 6d8d934cd31b1315b9158fae0370a4b2eff9de05 (diff) | |
download | brdo-bf3c137097f4331fd456853898e06d86acfb0d9d.tar.gz brdo-bf3c137097f4331fd456853898e06d86acfb0d9d.tar.bz2 |
Fixing search tabs going back to "content" when searching on other tabs.
-rw-r--r-- | modules/search.module | 2 | ||||
-rw-r--r-- | modules/search/search.module | 2 |
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'; |