New folders block nav

++
search field : select on focus

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-11-16 20:02:37 +01:00
parent 7dafe10be1
commit d2285db42a
11 changed files with 231 additions and 111 deletions

View File

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