Quellcode durchsuchen

Restarting a bit

Stephen Ficklin vor 6 Jahren
Ursprung
Commit
b947ff193f
2 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  1. 2 2
      tripal/includes/TripalFieldQuery.inc
  2. 2 0
      tripal/tripal_views_query.inc

+ 2 - 2
tripal/includes/TripalFieldQuery.inc

@@ -15,9 +15,9 @@ class TripalFieldQuery extends EntityFieldQuery {
   /**
    * This function is for views integration.
    *
-   *  Views may not always have a 1 to 1 mapping 
+   *  
    */ 
-  public function addjoinFilter($table_name, $field, $value, $op) {
+  public function entityRelationJoin($base_table, $base_field, $table, $field, $value, $op) {
 
   }
 

+ 2 - 0
tripal/tripal_views_query.inc

@@ -396,6 +396,8 @@ class tripal_views_query extends views_plugin_query {
    * This function copied from views_plugin_query_default::add_relationship
    */ 
   public function add_relationship($alias, $join, $base, $link_point = NULL) {
+dpm($alias);
+dpm($join);
     if (empty($link_point)) {
       $link_point = $this->base_table;
     }