From a1f8afa781ea038cca5509c5f08cc8fe22682e03 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Wed, 22 Sep 2021 19:19:21 +1000 Subject: [PATCH] AI submenu now has all at top --- TODO | 2 -- templates/files.html | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/TODO b/TODO index 8c01603..923d570 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,4 @@ ## GENERAL - * ai search, should put 'all' at top of drop-down - * when there is an actual error sent from B/E to F/E, you can't clear it other than deleting via sql * add an option on the person menu to run_ai_on all photos (or at least import/storage) diff --git a/templates/files.html b/templates/files.html index 3ad1252..8c5a787 100644 --- a/templates/files.html +++ b/templates/files.html @@ -307,10 +307,10 @@ $.contextMenu({ item_list['ai'] = { name: "Scan file for faces", items: { + "ai-all": {"name": "all"}, {% for p in people %} "ai-{{p.tag}}": {"name": "{{p.tag}}"}, {% endfor %} - "ai-all": {"name": "all"}, } }