lib/geoblacklight/download/shapefile_download.rb in geoblacklight-3.8.1 vs lib/geoblacklight/download/shapefile_download.rb in geoblacklight-4.0.0.pre.alpha

- old
+ new

@@ -6,10 +6,10 @@ request: 'GetFeature', srsName: 'EPSG:4326', outputformat: 'SHAPE-ZIP' }.freeze def initialize(document, options = {}) - request_params = SHAPEFILE_DOWNLOAD_PARAMS.merge(typeName: document[:layer_id_s]) + request_params = SHAPEFILE_DOWNLOAD_PARAMS.merge(typeName: document[Settings.FIELDS.WXS_IDENTIFIER]) super(document, { type: 'shapefile', extension: 'zip', request_params: request_params, content_type: 'application/zip',