pgsql: searchNotificationLayerIntroducingVulnerability order by layer ID
This fixes a bug where the API was returning Notification pages ordered by LDFV.ID instead of by Layer ID.
This commit is contained in:
parent
1d6ef941a0
commit
ea73aa153d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user