removed role from activeSalesPerson
This commit is contained in:
parent
1b4fd50929
commit
505ff1dcfe
|
@ -30,7 +30,7 @@ module.exports = Client => {
|
||||||
FROM worker em
|
FROM worker em
|
||||||
JOIN account.user ac ON em.userFk = ac.id
|
JOIN account.user ac ON em.userFk = ac.id
|
||||||
JOIN account.role r ON r.id = ac.role
|
JOIN account.role r ON r.id = ac.role
|
||||||
WHERE ac.active AND r.\`name\` = 'salesPerson' ${where.sql}
|
WHERE ac.active ${where.sql}
|
||||||
ORDER BY em.name ASC
|
ORDER BY em.name ASC
|
||||||
LIMIT ? OFFSET ?`;
|
LIMIT ? OFFSET ?`;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue