Skip to content

Commit

Permalink
Make layers added through CS-W queryable by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart van den Eijnden committed Nov 18, 2014
1 parent 14f7f39 commit ccc76e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/script/plugins/CSWCatalogueSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ gxp.plugins.CSWCatalogueSource = Ext.extend(gxp.plugins.CatalogueSource, {
}
Ext.apply(this.store.baseParams, data);
this.store.load();
},

createLayerRecord: function(layerConfig) {
layerConfig.queryable = true;
return gxp.plugins.CSWCatalogueSource.superclass.createLayerRecord.apply(this, arguments);
}

});
Expand Down

0 comments on commit ccc76e9

Please sign in to comment.