Commit 7ce9a710 authored by Tobias Munk's avatar Tobias Munk

order templates by default by name

parent 5f852522
...@@ -69,6 +69,8 @@ class WidgetTemplate extends WidgetTemplateModel ...@@ -69,6 +69,8 @@ class WidgetTemplate extends WidgetTemplateModel
->andFilterWhere(['like', 'json_schema', $this->json_schema]) ->andFilterWhere(['like', 'json_schema', $this->json_schema])
->andFilterWhere(['like', 'twig_template', $this->twig_template]); ->andFilterWhere(['like', 'twig_template', $this->twig_template]);
$query->orderBy('name');
return $dataProvider; return $dataProvider;
} }
} }
Markdown is supported
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