5 * Definition of views_handler_filter_node_tnid_child.
9 * Filter by whether the node is not the original translation.
11 * @ingroup views_filter_handlers
13 class views_handler_filter_node_tnid_child extends views_handler_filter {
14 function admin_summary() { }
15 function operator_form(&$form, &$form_state) { }
16 function can_expose() { return FALSE; }
19 $table = $this->ensure_my_table();
20 $this->query->add_where_expression($this->options['group'], "$table.tnid <> $table.nid AND $table.tnid > 0");