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:
@@ -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":
|
||||
|
Reference in New Issue
Block a user