You are here

function office_hours_handler_filter_open::query in Office Hours 7

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_in_operator::query

File

includes/office_hours_handler_filter_open.inc, line 75
Implements Views integration: filter 'open now'.

Class

office_hours_handler_filter_open
@file Implements Views integration: filter 'open now'.

Code

function query() {

  // This empty query is needed to avoid the code from parent.
  // Adding below line seems better, but replicates each entity with +1 hours blocks.
  // $this->ensure_my_table();
}