Total.php in Ubercart 8.4
File
uc_order/src/Plugin/views/filter/Total.php
View source
<?php
namespace Drupal\uc_order\Plugin\views\filter;
use Drupal\views\Plugin\views\filter\GroupByNumeric;
class Total extends GroupByNumeric {
public 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);
}
}
}
Classes
Name |
Description |
Total |
Filter handler that handles fields generated by table.fieldname * table.qty. |