Merge pull request #307 from jzelinskie/layeridorder

pgsql: searchNotificationLayerIntroducingVulnerability order by layer ID
This commit is contained in:
Jimmy Zelinskie 2017-01-19 13:53:47 -05:00 committed by GitHub
commit dbe522fdd5

View File

@ -219,7 +219,7 @@ const (
AND vafv.featureversion_id = fv.id AND vafv.featureversion_id = fv.id
AND ldfv.featureversion_id = fv.id AND ldfv.featureversion_id = fv.id
AND ldfv.modification = 'add' AND ldfv.modification = 'add'
ORDER BY ldfv.ID ORDER BY ldfv.layer_id
) )
SELECT l.id, l.name SELECT l.id, l.name
FROM LDFV, Layer l FROM LDFV, Layer l