add mtime to reference models

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-08-13 20:53:37 -04:00
parent 5cd88e93ed
commit ff2c03538d
8 changed files with 17 additions and 6 deletions
+1
View File
@@ -283,6 +283,7 @@ class ExtraNetworksPage:
htmls = []
if len(self.items) > 0 and self.items[0].get('mtime', None) is not None:
shared.opts.extra_networks_sort = 'Date [Newest]'
if shared.opts.extra_networks_sort == 'Default':
pass
elif shared.opts.extra_networks_sort == 'Name [A-Z]':