mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Change sort by fileName on cms template directory list.
This commit is contained in:
parent
4a81e096fa
commit
11522d1010
@ -161,7 +161,7 @@ class TemplateList extends WidgetBase
|
||||
}
|
||||
|
||||
usort($normalizedItems, function ($a, $b) {
|
||||
return strcmp($a->title, $b->title);
|
||||
return strcmp($a->fileName, $b->fileName);
|
||||
});
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user