Procházet zdrojové kódy

Issue #1889670: Fixed broken handler in analysis default view caused by chado_analysis table not being integrated through tripal

Lacey Sanderson před 12 roky
rodič
revize
76d2c88140
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      tripal_analysis/tripal_analysis.views.inc

+ 2 - 2
tripal_analysis/tripal_analysis.views.inc

@@ -37,7 +37,7 @@ function tripal_analysis_views_data()  {
     $tablename = 'analysis';
     // get the setup with the lightest priority. That's the table
     // that currently integrated with views.
-    $priority = tripal_views_get_table_lightest_priority($tablename);
+    $priority = 9;
 
     // check to see if the table is integrated. If it is then integrate it's
     // corresponding 'chado_[table]' table.
@@ -66,7 +66,7 @@ function tripal_analysis_views_data()  {
       'analysisprop'
     );
     foreach ($tables as $tablename) {
-      $priority = tripal_views_get_table_lightest_priority($tablename);
+      $priority = 9;
       if (!tripal_views_is_integrated($tablename, $priority)) {
         $table_integration_array = tripal_views_get_integration_array_for_chado_table($tablename, FALSE, $priority);
         tripal_views_integration_add_entry($table_integration_array);