You are here

function views_handler_sort::options_submit in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 handlers/views_handler_sort.inc \views_handler_sort::options_submit()

Simple submit handler

Overrides views_handler::options_submit

File

handlers/views_handler_sort.inc, line 90

Class

views_handler_sort
Base sort handler that has no options and performs a simple sort

Code

function options_submit(&$form, &$form_state) {
  unset($form_state['values']['expose_button']);

  // don't store this.
  $this
    ->sort_submit($form, $form_state);
  if (!empty($this->options['exposed'])) {
    $this
      ->expose_submit($form, $form_state);
  }
}