commented trace
This commit is contained in:
@@ -52,8 +52,8 @@ function materio_search_api_ajax_search($page = 0){
|
||||
|
||||
user_save($user, array("data"=>array('materiosearchapi_bundlesfilter' => $active_types)));
|
||||
|
||||
# if we are not already on the search page then don't respond with search results but redirect to search page
|
||||
if(isset($_GET['current_path'])){
|
||||
// dsm($_GET['current_path'], '$_GET[current_path]');
|
||||
// url() generates the prefix using hook_url_outbound_alter(). Instead of
|
||||
// running the hook_url_outbound_alter() again here, extract the prefix
|
||||
// from url().
|
||||
@@ -74,7 +74,7 @@ function materio_search_api_ajax_search($page = 0){
|
||||
}
|
||||
|
||||
// dsm($path, 'path');
|
||||
// get results
|
||||
// execute the searcj path and retrive results
|
||||
menu_set_active_item($path);
|
||||
$return = menu_execute_active_handler($path, FALSE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user