Skip to content

Commit

Permalink
Update allmanak xml location and rename stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
breyten committed Mar 27, 2024
1 parent b81fb4f commit 5d92ef7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/jodal/locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def next(self):

class OverheidsOrganisatiesScraper(MemoryMixin, BaseLocationScraper):
name = 'oo'
url = 'https://almanak.overheid.nl/archive/exportOO.xml'
url = 'https://organisaties.overheid.nl/archive/exportOO.xml'
nsmap = {}

def fetch(self):
Expand Down
4 changes: 2 additions & 2 deletions src/AddColumnBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
function doAddInquiry() {
if (typeof(selectedLocations) == 'undefined') {
selectedLocations = [{'value': '*', 'label': 'Alle gemeenten'}];
selectedLocations = [{'value': '*', 'label': 'Alles'}];
} else {
if (selectedLocations.length > 1) {
selectedLocations = selectedLocations.filter(function (l) { return (l.value != '*');})
Expand All @@ -175,7 +175,7 @@
var selected = $locations.filter(l => selected_ids.indexOf(l.id) >= 0);
name = selected_names.join(", ");
if (name == '*') {
name = 'Alle gemeenten';
name = 'Alles';
}
// if (newQuery == '') {
// newQuery = "*"
Expand Down

0 comments on commit 5d92ef7

Please sign in to comment.