From 79187633cb3b6a24c57ec85b66c873504fc3a640 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sun, 6 Aug 2023 01:02:04 +0200 Subject: [PATCH] Adding missing min/max person search --- src/frontend/app/ui/EnumTranslations.ts | 2 ++ .../query-entry.search.gallery.component.html | 30 +++++++++++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/frontend/app/ui/EnumTranslations.ts b/src/frontend/app/ui/EnumTranslations.ts index 4b14360b..501cb438 100644 --- a/src/frontend/app/ui/EnumTranslations.ts +++ b/src/frontend/app/ui/EnumTranslations.ts @@ -68,6 +68,8 @@ EnumTranslations[SearchQueryTypes[SearchQueryTypes.to_date]] = $localize`Until`; EnumTranslations[SearchQueryTypes[SearchQueryTypes.distance]] = $localize`Distance`; EnumTranslations[SearchQueryTypes[SearchQueryTypes.min_rating]] = $localize`Min rating`; EnumTranslations[SearchQueryTypes[SearchQueryTypes.max_rating]] = $localize`Max rating`; +EnumTranslations[SearchQueryTypes[SearchQueryTypes.min_person_count]] = $localize`Min persons`; +EnumTranslations[SearchQueryTypes[SearchQueryTypes.max_person_count]] = $localize`Max persons`; EnumTranslations[SearchQueryTypes[SearchQueryTypes.min_resolution]] = $localize`Min resolution`; EnumTranslations[SearchQueryTypes[SearchQueryTypes.max_resolution]] = $localize`Max resolution`; EnumTranslations[SearchQueryTypes[SearchQueryTypes.directory]] = $localize`Directory`; diff --git a/src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html b/src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html index 25796f51..a7b02a67 100644 --- a/src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html +++ b/src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html @@ -168,11 +168,37 @@ (ngModelChange)="onChange()" type="number"> +
+ +
+
+ +