fix varchar search
This commit is contained in:
@@ -4,5 +4,6 @@
|
||||
"createdAt",
|
||||
"emailAddress",
|
||||
"industry",
|
||||
"type"
|
||||
"type",
|
||||
"name"
|
||||
]
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
<select class="form-control search-type input-sm" name="{{name}}-type">
|
||||
{{options searchParams.typeOptions searchParams.typeFront field='varcharSearchRanges'}}
|
||||
{{options searchParams.typeOptions searchParams.type field='varcharSearchRanges'}}
|
||||
</select>
|
||||
<input type="text" class="main-element form-control input-sm" name="{{name}}" value="{{searchParams.value}}" {{#if params.maxLength}} maxlength="{{params.maxLength}}"{{/if}}{{#if params.size}} size="{{params.size}}"{{/if}} autocomplete="off" placeholder="{{translate 'Value'}}">
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ Espo.define('Views.Fields.Varchar', 'Views.Fields.Base', function (Dep) {
|
||||
if (value) {
|
||||
var data = {
|
||||
value: value,
|
||||
type: type,
|
||||
type: type
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user