1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-16 07:09:44 +00:00

Add searching to date fields by default

This commit is contained in:
Darren Shepherd
2018-07-13 13:04:50 -07:00
parent c29825b3db
commit dca6c2e43d

View File

@@ -99,6 +99,8 @@ func (s *Schemas) setupFilters(schema *Schema) {
switch field.Type {
case "enum":
mods = []ModifierType{ModifierEQ, ModifierNE, ModifierIn, ModifierNotIn}
case "date":
fallthrough
case "dnsLabel":
fallthrough
case "hostname":