3852-client.search-panel2 #1111

Merged
vicent merged 6 commits from 3852-client.search-panel2 into dev 2022-11-03 06:07:49 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit b39b28e43d - Show all commits

View File

@ -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]);