You are here

public function print_join_page_counter::build_join in Printer, email and PDF versions 7.2

Same name and namespace in other branches
  1. 7 print_join_page_counter.inc \print_join_page_counter::build_join()

@inheritdoc

Overrides views_join::build_join

File

./print_join_page_counter.inc, line 28
Custom Views integration join for the page counters.

Class

print_join_page_counter
Class print_join_page_counter.

Code

public function build_join($select_query, $table, $view_query) {
  if ($this->left_table) {
    $this->left_field = "CONCAT('node/', {$this->left_table}.{$this->left_field})";
    $this->left_table = NULL;
  }
  parent::build_join($select_query, $table, $view_query);
}