Skip to content

Commit

Permalink
Remove ZIP code prefix matching
Browse files Browse the repository at this point in the history
Remove matching of ZIP code prefixes as requested by customer in email from 2021-04-06
  • Loading branch information
conqp committed Apr 6, 2021
1 parent d7df9e4 commit a0683d6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions wordpress-wbs/homeinfo/js/05_wbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ immobrowse.wbs.match = function (realEstate, district) {
switch (district) {
case 'Uellendahl-Katernberg':
return immobrowse.wbs.KATERNBERG_STREETS.includes(realEstate.geo.strasse);
case 'Elberfeld':
return realEstate.geo.plz.startsWith('421');
case 'Barmen':
return realEstate.geo.plz.startsWith('422');
default:
return realEstate.geo.regionaler_zusatz == district;
}
Expand Down

0 comments on commit a0683d6

Please sign in to comment.