Skip to content

Commit

Permalink
Merge pull request #33 from OnroerendErfgoed/feature/32_niscodes_ipv_…
Browse files Browse the repository at this point in the history
…crabids

Feature/32 niscodes ipv crabids
  • Loading branch information
yannickkuypers authored Feb 28, 2022
2 parents 230cdc3 + cddb707 commit 7921a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CrabZoomer.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ define([
if (location.region && location.region.id === '1') {
domUtils.setSelectedOptions(this.gewestSelect, ['1']);
this._gewestChangeWithNoProvince();
this._setMunicipality(location.municipality.id);
this._setMunicipality(location.municipality.niscode);
return;
}

Expand Down Expand Up @@ -413,7 +413,7 @@ define([
// console.debug('CrabZoomer::_fillMunicipalitySelect', data);
domUtils.addSelectOptions(this.municipalitySelect, {
data: data,
idProperty: 'id',
idProperty: 'niscode',
labelProperty: 'naam',
placeholder: 'Kies een gemeente'
});
Expand Down

0 comments on commit 7921a99

Please sign in to comment.