You are here

public function ContentLockViewsHandlerSortLocked::query in Content locking (anti-concurrent editing) 7.3

Same name and namespace in other branches
  1. 7.2 views/ContentLockViewsHandlerSortLocked.inc \ContentLockViewsHandlerSortLocked::query()

Query.

Overrides views_handler_sort::query

File

views/ContentLockViewsHandlerSortLocked.inc, line 15
Handler to identify if node is locked or not.

Class

ContentLockViewsHandlerSortLocked
Class ContentLockViewsHandlerSortLocked.

Code

public function query() {
  $this
    ->ensure_my_table();
  $this->query
    ->add_orderby($this->table_alias, 'timestamp', $this->options['order']);
}