diff --git data.views.inc data.views.inc index e6fdc13..49dad00 100644 --- data.views.inc +++ data.views.inc @@ -63,6 +63,10 @@ 'help' => t('Data table'), 'weight' => 10, ); + // Schema module can point to a different database + if($base_database = variable_get('schema_database_connection',FALSE)) { + $table_data['table']['base']['database'] = $base_database; + } } // Add join information.