You are here

function casetracker_views_handler_filter_project_published::query in Case Tracker 7

Same name and namespace in other branches
  1. 6 includes/casetracker_views_handler_filter_project_published.inc \casetracker_views_handler_filter_project_published::query()

Add this filter to the query.

Due to the nature of fapi, the value and the operator have an unintended level of indirection. You will find them in $this->operator and $this->value respectively.

Overrides views_handler_filter::query

File

includes/casetracker_views_handler_filter_project_published.inc, line 7

Class

casetracker_views_handler_filter_project_published

Code

function query() {
  $table = $this
    ->ensure_my_table();

  //print_r($table);

  //$this->query->add_where($this->options['group'], "$table.status <> 0 OR $table.uid = ***CURRENT_USER*** or ***ADMINISTER_NODES*** = 1");

  //$this->query->add_where($this->options['group'], "$table.status <> 0");
}