mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-10 04:07:35 +02:00
Adding missing min/max person search
This commit is contained in:
parent
1890ef308b
commit
79187633cb
@ -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`;
|
||||
|
@ -168,11 +168,37 @@
|
||||
(ngModelChange)="onChange()"
|
||||
type="number">
|
||||
</div>
|
||||
<div *ngSwitchCase="SearchQueryTypes.min_person_count" class="col-10 col-lg d-flex">
|
||||
<input id="min_person_count"
|
||||
name="min_person_count"
|
||||
title="Minimum Person count"
|
||||
placeholder="0"
|
||||
i18n-title
|
||||
min="0"
|
||||
max="5"
|
||||
class="form-control input-md rounded-2"
|
||||
[(ngModel)]="AsRangeQuery.value"
|
||||
(ngModelChange)="onChange()"
|
||||
type="number">
|
||||
</div>
|
||||
<div *ngSwitchCase="SearchQueryTypes.max_person_count" class="col-10 col-lg d-flex">
|
||||
<input id="max_person_count"
|
||||
name="max_person_count"
|
||||
title="Maximum Person count"
|
||||
placeholder="5"
|
||||
i18n-title
|
||||
min="0"
|
||||
max="5"
|
||||
class="form-control input-md rounded-2"
|
||||
[(ngModel)]="AsRangeQuery.value"
|
||||
(ngModelChange)="onChange()"
|
||||
type="number">
|
||||
</div>
|
||||
<div *ngSwitchCase="SearchQueryTypes.min_resolution" class="col-10 col-lg">
|
||||
<div class="input-group">
|
||||
<input id="minResolution"
|
||||
name="minResolution"
|
||||
title="Minimum Rating"
|
||||
title="Minimum Resolution"
|
||||
placeholder="0"
|
||||
i18n-title
|
||||
min="0"
|
||||
@ -188,7 +214,7 @@
|
||||
<div class="input-group">
|
||||
<input id="maxResolution"
|
||||
name="maxResolution"
|
||||
title="Maximum Rating"
|
||||
title="Maximum Resolution"
|
||||
placeholder="5"
|
||||
i18n-title
|
||||
[min]="0"
|
||||
|
Loading…
Reference in New Issue
Block a user