Skip to content

Commit

Permalink
Use a slightly different mapping for location. Fixes #162
Browse files Browse the repository at this point in the history
  • Loading branch information
breyten committed Mar 5, 2024
1 parent 73e47d2 commit 9ce7ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sources.js
Expand Up @@ -15,7 +15,7 @@ function fetchFromApi(query, selected_sources, location_ids, date_start, date_en
}
var add_location = (location_ids.length != 1) || (location_ids[0] != '*');
if (add_location) {
api_filter += '|location.keyword:'+ location_ids.join(",");
api_filter += '|location.raw:'+ location_ids.join(",");
}
if (stable !== null) {
api_filter += "|published_to:" + encodeURIComponent(stable);
Expand Down

0 comments on commit 9ce7ff6

Please sign in to comment.