Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function apachesolr_solr_sort_form($form_id, $item_names, $items) {
- $form['solr-sort'] = array (
- '#type' => 'select',
- '#title' => t('Sortieren nach'),
- '#default_value' => 'sort_title',
- '#options' => $item_names,
- '#multiple' => FALSE,
- );
- $form['submit'] = array(
- '#type' => 'submit',
- '#value' => t('Suche')
- );
- $form['select_values'] = array (
- '#type' => 'value',
- '#value' => $items,
- );
- return $form;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement