diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-08-25 10:29:18 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-08-25 10:29:18 +0000 |
commit | ffb803bae23619ffd365f026cd29a24de204df66 (patch) | |
tree | b85ec2a2776b5bde5a7744e414ba1b29199a9d67 /modules | |
parent | 801756e7e69cfc8a22d8c1c612a31391872c35bc (diff) | |
download | brdo-ffb803bae23619ffd365f026cd29a24de204df66.tar.gz brdo-ffb803bae23619ffd365f026cd29a24de204df66.tar.bz2 |
#157510 by pwolanin and chx: search module needs menu tail arguments (arbitrary 'directory' looking parts)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/search/search.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index cff9314e3..326cff4a5 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -188,14 +188,14 @@ function search_menu() { ); foreach (module_implements('search') as $name) { - $items['search/'. $name .'/%'] = array( + $items['search/'. $name .'/%menu_tail'] = array( 'title callback' => 'module_invoke', 'title arguments' => array($name, 'search', 'name', TRUE), 'page callback' => 'search_view', 'page arguments' => array($name), 'access callback' => '_search_menu', 'access arguments' => array($name), - 'type' => $name == 'node' ? MENU_DEFAULT_LOCAL_TASK : MENU_LOCAL_TASK, + 'type' => MENU_LOCAL_TASK, 'parent' => 'search', ); } |