6220-addressFilter #1886

Merged
carlossa merged 13 commits from 6220-addressFilter into dev 2023-12-18 11:45:12 +00:00
2 changed files with 7 additions and 5 deletions
Showing only changes of commit 40499e44cf - Show all commits

View File

@ -145,16 +145,18 @@ module.exports = Self => {
c.name,
c.fi,
c.socialName,
CONCAT(c.phone, ',',GROUP_CONCAT(DISTINCT a.phone)) phone,
c.phone,
a.phone,
c.mobile,
CONCAT(c.city, ',',GROUP_CONCAT(DISTINCT a.city)) city,
c.city,
a.city,
c.postcode,
a.postalCode,
c.email,
c.isActive,
Review

provinceClientFk

provinceClientFk
c.isFreezed,
Review

provinceAddressFk

provinceAddressFk
p.id AS provinceFk2,
a.provinceFk,
p.id AS provinceClientFk,
a.provinceFk AS provinceAddressFk,
p.name AS province,
u.id AS salesPersonFk,
u.name AS salesPerson

View File

@ -146,7 +146,7 @@ describe('client filter()', () => {
const randomResultClient = result[randomIndex];
expect(result.length).toBeGreaterThanOrEqual(20);
expect(randomResultClient.city.toLowerCase()).toEqual('gotham,gotham');
expect(randomResultClient.city.toLowerCase()).toEqual('gotham');
await tx.rollback();
} catch (e) {