New folders block nav
++ search field : select on focus Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
@@ -64,17 +64,22 @@ function materio_search_api_ajax_search($keys, $page = 0){
|
||||
} elseif (isset($return)) {
|
||||
|
||||
if (is_array($return)) {
|
||||
$count = $return['results']['#results']['result count'];
|
||||
$return = drupal_render($return);
|
||||
// $return = theme($return['#theme'], $return);
|
||||
}
|
||||
|
||||
$rep = array(
|
||||
// 'id'=>$id,
|
||||
'path'=>$path,
|
||||
'keys'=>$keys,
|
||||
'search_path'=>$search_path,
|
||||
'return'=>$return,
|
||||
'active_types'=>$active_types,
|
||||
'title' => drupal_get_title(),
|
||||
);
|
||||
|
||||
if(isset($count))
|
||||
$rep['count'] = $count;
|
||||
|
||||
if ($debug) {
|
||||
dsm($rep, 'rep');
|
||||
@@ -146,6 +151,7 @@ function materio_search_api_ajax_actuality($page = 0){
|
||||
}
|
||||
|
||||
$rep = array(
|
||||
'path' => $path,
|
||||
'return'=>$return,
|
||||
'title' => drupal_get_title(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user