|
@@ -41,7 +41,15 @@ function tripal_cv_views_data() {
|
|
|
);
|
|
|
foreach ($tables as $tablename) {
|
|
|
if (!tripal_views_is_integrated($tablename, 10)) {
|
|
|
+ // get default integration array
|
|
|
$table_integration_array = tripal_views_get_integration_array_for_chado_table($tablename,TRUE);
|
|
|
+
|
|
|
+ // add specialty handlers
|
|
|
+ if ($tablename == 'cvterm') {
|
|
|
+ $table_integration_array['fields']['name']['handlers']['filter']['name'] = 'views_handler_filter_chado_select_cvterm_name';
|
|
|
+ }
|
|
|
+
|
|
|
+ // add integration
|
|
|
tripal_views_integration_add_entry($table_integration_array);
|
|
|
}
|
|
|
}
|
|
@@ -60,6 +68,7 @@ function tripal_cv_views_data() {
|
|
|
tripal_views_integration_add_entry($table_integration_array);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
|
|
|
return $data;
|