Bug 22565: Do NOT replace all internalnote's on receive
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 25 Mar 2019 10:49:15 +0000 (10:49 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 25 Mar 2019 15:07:49 +0000 (15:07 +0000)
commit435ba519544d5240848f072ed6f4e248435be548
tree393b1526f7ffee513ad13f56a46975024dc5224e
parent1c267af1438d31a967593f942321d040cd26d34e
Bug 22565: Do NOT replace all internalnote's on receive

Bug 21467 introduced a but whereby setting any order_internalnote on
receive one would end up setting all orders to have that internalnote.

This patch adds the missing WHERE clause to the database query which was
likely lost during a rebase?

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 9acf69f7a690a78bd09af7afbb28e4b32c493903)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Acquisition.pm