Search: Update automatically generated filter overview #3321

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-04-02 11:33:13 +02:00
parent 2f663fea6a
commit 0e09606e35

View file

@ -46,7 +46,7 @@ func Report(f interface{}) (rows [][]string, cols []string) {
case time.Time:
typeName = "timestamp"
if example == "" {
example = fmt.Sprintf("%s:\"2022-01-30 15:23:42\"", fieldName)
example = fmt.Sprintf("%s:\"2022-01-30\"", fieldName)
}
case int, int8, int16, int32, int64:
typeName = "number"