3852-client.search-panel2 #1111
|
@ -75,8 +75,10 @@ module.exports = Self => {
|
||||||
const myOptions = {};
|
const myOptions = {};
|
||||||
const postalCode = [];
|
const postalCode = [];
|
||||||
const args = ctx.args;
|
const args = ctx.args;
|
||||||
|
|
||||||
if (typeof options == 'object')
|
if (typeof options == 'object')
|
||||||
Object.assign(myOptions, options);
|
Object.assign(myOptions, options);
|
||||||
|
|
||||||
if (args.zoneFk) {
|
if (args.zoneFk) {
|
||||||
query = `CALL vn.zone_getPostalCode(?)`;
|
query = `CALL vn.zone_getPostalCode(?)`;
|
||||||
const [geos] = await Self.rawSql(query, [args.zoneFk]);
|
const [geos] = await Self.rawSql(query, [args.zoneFk]);
|
||||||
|
|
Loading…
Reference in New Issue