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 {
|
switch field.Type {
|
||||||
case "enum":
|
case "enum":
|
||||||
mods = []ModifierType{ModifierEQ, ModifierNE, ModifierIn, ModifierNotIn}
|
mods = []ModifierType{ModifierEQ, ModifierNE, ModifierIn, ModifierNotIn}
|
||||||
|
case "date":
|
||||||
|
fallthrough
|
||||||
case "dnsLabel":
|
case "dnsLabel":
|
||||||
fallthrough
|
fallthrough
|
||||||
case "hostname":
|
case "hostname":
|
||||||
|
Reference in New Issue
Block a user