|
@@ -34,7 +34,7 @@ function tripal_stock_views_data() {
|
|
|
if (module_exists('tripal_views')) {
|
|
|
$tablename = 'stock';
|
|
|
$priority = 9;
|
|
|
-
|
|
|
+
|
|
|
// check to see if the table is integrated. If it is then integrate it's
|
|
|
// corresponding 'chado_[table]' table.
|
|
|
if (!tripal_views_is_integrated($tablename, $priority)) {
|
|
@@ -53,7 +53,7 @@ function tripal_stock_views_data() {
|
|
|
}
|
|
|
|
|
|
$tablename = 'stockcollection';
|
|
|
- $priority = 9;
|
|
|
+ $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);
|
|
@@ -72,7 +72,7 @@ function tripal_stock_views_data() {
|
|
|
'stockprop_pub'
|
|
|
);
|
|
|
foreach ($tables as $tablename) {
|
|
|
- $priority = 9;
|
|
|
+ $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);
|
|
@@ -640,6 +640,7 @@ function tripal_stock_views_default_views() {
|
|
|
),
|
|
|
));
|
|
|
// Only show records with published nodes
|
|
|
+ /**
|
|
|
$filters = $view->get_items('filter', 'default');
|
|
|
$filters['status'] = array(
|
|
|
'operator' => '=',
|
|
@@ -656,6 +657,7 @@ function tripal_stock_views_default_views() {
|
|
|
'relationship' => 'none',
|
|
|
);
|
|
|
$default_handler->override_option('filters', $filters);
|
|
|
+ */
|
|
|
}
|
|
|
$views[$view->name] = $view;
|
|
|
|