Analog flag and search filter for photos

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-07-05 14:59:40 +02:00
parent 11c1f35787
commit f79cfc6513
2 changed files with 2 additions and 1 deletions

View file

@ -93,7 +93,7 @@
<v-list-tile :to="{name: 'photos', query: { q: 'analog:true' }}" :exact="true" @click="">
<v-list-tile-content>
<v-list-tile-title>
<translate>Film Scans</translate>
<translate key="Analog">Analog</translate>
</v-list-tile-title>
</v-list-tile-content>
</v-list-tile>

View file

@ -32,6 +32,7 @@ type Photo struct {
PhotoFavorite bool `json:"Favorite"`
PhotoPrivate bool `json:"Private"`
PhotoReview bool `json:"Review"`
PhotoAnalog bool `json:"Analog"`
PhotoLat float32 `json:"Lat"`
PhotoLng float32 `json:"Lng"`
PhotoAltitude int `json:"Altitude"`