Commit 8c208338 authored by oleg.pahhomov's avatar oleg.pahhomov
Browse files

SA0140-537 | add order for my widgets

parent 0cc877fd
......@@ -58,7 +58,8 @@ public class WidgetCustomRepositoryImpl implements WidgetCustomRepository {
return entityManager.createNativeQuery("" +
"SELECT w.* from widget w\n" +
"join dashboard_widget dw on = dw.widget\n" +
"where dw.dashboard = :dashboard", Widget.class)
"where dw.dashboard = :dashboard \n" +
"order by desc", Widget.class)
.setParameter("dashboard", dashboard)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment