From bf3c137097f4331fd456853898e06d86acfb0d9d Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Fri, 14 Jan 2005 03:24:20 +0000 Subject: Fixing search tabs going back to "content" when searching on other tabs. --- modules/search.module | 2 +- modules/search/search.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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'; -- cgit v1.2.3