updated setSQL in windshaft provider

This commit is contained in:
javi 2014-03-06 13:01:52 +01:00
parent 185e7b3991
commit 22595ec88c

View File

@ -326,6 +326,13 @@
return this.options.sql || "select * from " + this.options.table;
},
setSQL: function(sql) {
if (this.options.sql != sql) {
this.options.sql = sql;
this.reload();
}
},
_tilerHost: function() {
var opts = this.options;
var user = (opts.user_name || opts.user);