From ddd8a37a0eb5623960e4528802263c7cec23af87 Mon Sep 17 00:00:00 2001 From: RanXom Date: Wed, 22 Jul 2026 17:31:35 +0530 Subject: refactor(gallery/api): rename SortByDateTime to SortByDateTaken --- internal/gallery/query_photos_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/gallery/query_photos_test.go') 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, }) -- cgit v1.2.3