Skip to content

Commit 48affb0

Browse files
authored
Merge pull request #121 from GetDKAN/broken-rdf-json-links
Fix broken RDF and JSON links
2 parents 8b68480 + 5406a18 commit 48affb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

open_data_schema_map.pages.inc

+2-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,8 @@ function open_data_schema_map_add_type(&$values, $mapping) {
494494
function open_data_schema_map_endpoint($api) {
495495
$params = drupal_get_query_parameters();
496496
if (!isset($params['page'])) {
497-
drupal_goto($api->endpoint, ['query' => ['page' => 0]]);
497+
$params['page'] = 0;
498+
drupal_goto($api->endpoint, ['query' => $params]);
498499
}
499500
// Start by setting the content type header based on the API settings.
500501
if ($output_format = open_data_schema_map_output_format_load($api->outputformat)) {

0 commit comments

Comments
 (0)