diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..efc2538e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +patch_commit_2030a6f810b1.patch \ No newline at end of file diff --git a/search-api-page-results.tpl.php b/search-api-page-results.tpl.php index 9bbf3430..3d1888ef 100644 --- a/search-api-page-results.tpl.php +++ b/search-api-page-results.tpl.php @@ -40,7 +40,7 @@ - +
item_type, $items, $variables['view_mode'])); ?>
diff --git a/search_api_page.module b/search_api_page.module index 73faaada..aec880b7 100755 --- a/search_api_page.module +++ b/search_api_page.module @@ -46,6 +46,15 @@ function search_api_page_menu() { } } + $ret['results']['#theme'] = 'materiobase_results'; + $ret['results']['#index'] = search_api_index_load($page->index_id); + $ret['results']['#results'] = $results; + $ret['results']['#view_mode'] = isset($page->options['view_mode']) ? $page->options['view_mode'] : 'search_api_page_result'; + $ret['results']['#keys'] = $keys; + $ret['results']['#page_machine_name'] = $page->machine_name; + + + return $items; }