|
@@ -33,9 +33,7 @@ function tripal_stock_views_data() {
|
|
|
|
|
|
if (module_exists('tripal_views')) {
|
|
|
$tablename = 'stock';
|
|
|
- // 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.
|
|
@@ -55,7 +53,7 @@ function tripal_stock_views_data() {
|
|
|
}
|
|
|
|
|
|
$tablename = 'stockcollection';
|
|
|
- $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, TRUE, $priority);
|
|
|
tripal_views_integration_add_entry($table_integration_array);
|
|
@@ -74,7 +72,7 @@ function tripal_stock_views_data() {
|
|
|
'stockprop_pub'
|
|
|
);
|
|
|
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);
|