You are here

function uc_order_handler_filter_total::query in Ubercart 7.3

Overrides views_handler_filter_group_by_numeric::query().

Overrides views_handler_filter_group_by_numeric::query

File

uc_order/views/uc_order_handler_filter_total.inc, line 23
Contains uc_order_handler_filter_total.

Class

uc_order_handler_filter_total
Filter handler that handles fields generated by table.fieldname * table.qty.

Code

function query() {
  $this
    ->ensure_my_table();
  $field = $this->table . '_' . $this->field;
  $info = $this
    ->operators();
  if (!empty($info[$this->operator]['method'])) {
    $this
      ->{$info[$this->operator]['method']}($field);
  }
}