Bug 17902: Follow-up fixing SQL statement

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 40cb8e3b75)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
Katrin Fischer 2017-01-30 16:47:23 +01:00
parent 14e2c2e5f7
commit dea3bc855d
1 changed files with 1 additions and 1 deletions

View File

@ -746,7 +746,7 @@ sub GetSerials2 {
FROM serial
WHERE subscriptionid=?
|
. q| AND status IN (| . join( ",", ('?') x @$statuses ) . ")" . q|)|
. q| AND status IN (| . join( ",", ('?') x @$statuses ) . q|)|
. q|
ORDER BY publisheddate,serialid DESC
|;