You are here

function theme_apachesolr_sort_list in Apache Solr Search 8

Same name and namespace in other branches
  1. 5.2 apachesolr.module \theme_apachesolr_sort_list()
  2. 5 apachesolr.module \theme_apachesolr_sort_list()
  3. 6.3 apachesolr.module \theme_apachesolr_sort_list()
  4. 6 apachesolr.module \theme_apachesolr_sort_list()
  5. 6.2 apachesolr.module \theme_apachesolr_sort_list()
  6. 7 apachesolr.module \theme_apachesolr_sort_list()
1 theme call to theme_apachesolr_sort_list()
apachesolr_search_block_view in ./apachesolr_search.module
Implements hook_block_view().

File

./apachesolr.module, line 2710
Integration with the Apache Solr search application.

Code

function theme_apachesolr_sort_list($vars) {

  // theme('item_list') expects a numerically indexed array.
  $vars['items'] = array_values($vars['items']);
  return theme('item_list', array(
    'items' => $vars['items'],
  ));
}