commented trace

This commit is contained in:
Bachir Soussi Chiadmi
2013-12-06 12:41:06 +01:00
parent 3d36e980af
commit e1a04d9b8e
3 changed files with 5 additions and 5 deletions

View File

@@ -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);