aboutsummaryrefslogtreecommitdiff
path: root/internal/gallery/query.go
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-22 17:31:35 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-22 17:31:35 +0530
commitddd8a37a0eb5623960e4528802263c7cec23af87 (patch)
treed331e8d858f62cf82d0cb6c3ca96400d4e28edca /internal/gallery/query.go
parent3a5d1edb2735cfadfbcc7ca0ed79e12ad9fbf7b9 (diff)
downloadgalleryd-ddd8a37a0eb5623960e4528802263c7cec23af87.tar.xz
galleryd-ddd8a37a0eb5623960e4528802263c7cec23af87.zip
refactor(gallery/api): rename SortByDateTime to SortByDateTaken
Diffstat (limited to 'internal/gallery/query.go')
-rw-r--r--internal/gallery/query.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gallery/query.go b/internal/gallery/query.go
index f528906..e2003d5 100644
--- a/internal/gallery/query.go
+++ b/internal/gallery/query.go
@@ -3,8 +3,8 @@ package gallery
type SortField string
const (
- SortByDateTime SortField = "dateTaken"
- SortByPath SortField = "path"
+ SortByDateTaken SortField = "dateTaken"
+ SortByPath SortField = "path"
)
// SortOrder identifies the sort direction