diff options
author | sebdet <sebastien.determe@intl.att.com> | 2019-05-13 17:18:10 +0200 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2019-05-13 17:20:07 +0200 |
commit | ca7f86c29f2b7182821b2a24896c95f7cf4a5baf (patch) | |
tree | 6ffce85abd16360ee7d8bc78a0f3b8061639881e /src/main/java/org | |
parent | 566e9e4b12042992d3b2be895477dc6e25e16922 (diff) |
Fix loop order
Change the field for the sorting so that we see the logs in the right
order
Issue-ID: CLAMP-383
Change-Id: I1b423315f64252ac3dca1c34d2207f16f3a85418
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/onap/clamp/loop/Loop.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/clamp/loop/Loop.java b/src/main/java/org/onap/clamp/loop/Loop.java index f47a6a08c..897708604 100644 --- a/src/main/java/org/onap/clamp/loop/Loop.java +++ b/src/main/java/org/onap/clamp/loop/Loop.java @@ -115,7 +115,7 @@ public class Loop implements Serializable { @Expose @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = "loop") - @OrderBy("log_instant DESC") + @OrderBy("id DESC") private Set<LoopLog> loopLogs = new HashSet<>(); public Loop() { |