You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Countrystring`form:"country" example:"country:\"de|us\"" notes:"Location Country Code (separate with |)"`// Moments
63
+
Statestring`form:"state" example:"state:\"Baden-Württemberg\"" notes:"Location State (separate with |)"`// Moments
64
+
Citystring`form:"city" example:"city:\"Berlin\"" notes:"Location City (separate with |)"`// Moments
65
+
Yearstring`form:"year" example:"year:1990|2003" notes:"Year (separate with |)"`// Moments
66
+
Monthstring`form:"month" example:"month:7|10" notes:"Month (1-12, separate with |)"`// Moments
67
+
Daystring`form:"day" example:"day:3|13" notes:"Day of Month (1-31, separate with |)"`// Moments
68
68
Facestring`form:"face" example:"face:PN6QO5INYTUSAATOFL43LL2ABAV5ACZG" notes:"Face ID, yes, no, new, or kind"`// UIDs
69
69
Facesstring`form:"faces" example:"faces:yes faces:3" notes:"Minimum number of Faces (yes = 1)"`// Find or exclude faces if detected.
70
70
Subjectstring`form:"subject" example:"subject:\"Jane Doe & John Doe\"" notes:"Alias for person"`// UIDs
71
-
Personstring`form:"person" example:"person:\"Jane Doe & John Doe\"" notes:"Subject Names, exact matches, can be combined with & and |"`// Alias for Subject
71
+
Personstring`form:"person" example:"person:\"Jane Doe & John Doe\"" notes:"Subject Names, exact matches (combinable with & and |)"`// Alias for Subject
72
72
Subjectsstring`form:"subjects" example:"subjects:\"Jane & John\"" notes:"Alias for people"`// People names
73
-
Peoplestring`form:"people" example:"people:\"Jane & John\"" notes:"Subject Names, can be combined with & and |"`// Alias for Subjects
73
+
Peoplestring`form:"people" example:"people:\"Jane & John\"" notes:"Subject Names (combinable with & and |)"`// Alias for Subjects
74
74
Albumstring`form:"album" example:"album:berlin" notes:"Album UID or Name, supports * wildcards"`// Album UIDs or name
75
-
Albumsstring`form:"albums" example:"albums:\"South Africa & Birds\"" notes:"Album Names, can be combined with & and |"`// Multi search with and/or
76
-
Colorstring`form:"color" example:"color:\"red|blue\"" notes:"Color Name (purple, magenta, pink, red, orange, gold, yellow, lime, green, teal, cyan, blue, brown, white, grey, black), OR search with |"`// Main color
75
+
Albumsstring`form:"albums" example:"albums:\"South Africa & Birds\"" notes:"Album Names (combinable with & and |)"`// Multi search with and/or
76
+
Colorstring`form:"color" example:"color:\"red|blue\"" notes:"Color Name (purple, magenta, pink, red, orange, gold, yellow, lime, green, teal, cyan, blue, brown, white, grey, black) (separate with |)"`// Main color
log.Debugf("search: label %s includes %d categories", txt.LogParamLower(l.LabelName), len(categories))
217
+
218
+
for_, category:=rangecategories {
219
+
labelIds=append(labelIds, category.LabelID)
220
+
}
221
+
}
222
+
223
+
s=s.Joins("JOIN photos_labels ON photos_labels.photo_id = files.photo_id AND photos_labels.uncertainty < 100 AND photos_labels.label_id IN (?)", labelIds).
0 commit comments