Skip to content

Commit

Permalink
add default layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Fenton committed Dec 29, 2015
1 parent c861484 commit 633ce94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ function Cache () {
*/
this.decodeGeoservices = function (options) {
var query = _.clone(options)
query.layer = query.layer || 0
if (query.orderByFields && query.orderByFields.length) {
query.order_by = this._convertOrderByFields(query.orderByFields)
}
Expand Down

0 comments on commit 633ce94

Please sign in to comment.