updated setSQL in windshaft provider
This commit is contained in:
parent
185e7b3991
commit
22595ec88c
@ -326,6 +326,13 @@
|
|||||||
return this.options.sql || "select * from " + this.options.table;
|
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() {
|
_tilerHost: function() {
|
||||||
var opts = this.options;
|
var opts = this.options;
|
||||||
var user = (opts.user_name || opts.user);
|
var user = (opts.user_name || opts.user);
|
||||||
|
Loading…
Reference in New Issue
Block a user