need to include director comparison to hook for changes

This commit is contained in:
Paul Trowbridge 2021-04-23 09:41:38 -04:00
parent 67e5466f72
commit 78a9658e80

View File

@ -55,6 +55,8 @@ FROM
rlarp.repc r rlarp.repc r
WHERE WHERE
r.rcode = o.dsm r.rcode = o.dsm
AND quota_rep_descr <> (regexp_match(r.repp,'.* - (.*)$'))[1]; AND (
quota_rep_descr <> (regexp_match(r.repp,'.* - (.*)$'))[1]
OR o.director <> r.director
);
COMMIT; COMMIT;