Skip to content

Commit

Permalink
Merge 00d37d7 into ab17475
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed Feb 1, 2018
2 parents ab17475 + 00d37d7 commit d62257e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions prs2/harvester/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ def harvest(self, create_tasks=True, create_locations=True, create_records=True)
new_ref.agency = dbca
new_ref.referring_org = wapc
new_ref.reference = reference
new_ref.description = app['DEVELOPMENT_DESCRIPTION']
new_ref.description = app['DEVELOPMENT_DESCRIPTION'] if 'DEVELOPMENT_DESCRIPTION' in app else ''
new_ref.referral_date = self.received
new_ref.address = app['LOCATION']
new_ref.address = app['LOCATION'] if 'LOCATION' in app else ''
new_ref.save()

if referral_preexists:
Expand Down
2 changes: 1 addition & 1 deletion prs2/referral/static/js/referral_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var landgateOrthomosaic = L.tileLayer.wms(
geoserver_wms_url,
{
crs: L.CRS.EPSG4326,
layers: 'landgate:LGATE-V001',
layers: 'landgate:virtual_mosaic',
tileSize: 1024,
format: 'image/jpeg',
tiled: true,
Expand Down

0 comments on commit d62257e

Please sign in to comment.