diff options
| author | RanXom <saiyedshizain@gmail.com> | 2026-07-22 17:31:35 +0530 |
|---|---|---|
| committer | RanXom <saiyedshizain@gmail.com> | 2026-07-22 17:31:35 +0530 |
| commit | ddd8a37a0eb5623960e4528802263c7cec23af87 (patch) | |
| tree | d331e8d858f62cf82d0cb6c3ca96400d4e28edca /internal/gallery/query_photos_test.go | |
| parent | 3a5d1edb2735cfadfbcc7ca0ed79e12ad9fbf7b9 (diff) | |
| download | galleryd-ddd8a37a0eb5623960e4528802263c7cec23af87.tar.xz galleryd-ddd8a37a0eb5623960e4528802263c7cec23af87.zip | |
refactor(gallery/api): rename SortByDateTime to SortByDateTaken
Diffstat (limited to 'internal/gallery/query_photos_test.go')
| -rw-r--r-- | internal/gallery/query_photos_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gallery/query_photos_test.go b/internal/gallery/query_photos_test.go index 9b190da..c9bb986 100644 --- a/internal/gallery/query_photos_test.go +++ b/internal/gallery/query_photos_test.go @@ -214,7 +214,7 @@ func TestQueryPhotosSortByDateAscending(t *testing.T) { } got := QueryPhotos(photos, Query{ - Sort: SortByDateTime, + Sort: SortByDateTaken, Order: SortAsc, }) @@ -244,7 +244,7 @@ func TestQueryPhotosSortByDateDescending(t *testing.T) { } got := QueryPhotos(photos, Query{ - Sort: SortByDateTime, + Sort: SortByDateTaken, Order: SortDesc, }) |