fix varchar search

This commit is contained in:
yuri
2015-06-12 12:06:19 +03:00
parent 492d4869c2
commit 23ef028cb4
3 changed files with 4 additions and 3 deletions
@@ -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'}}">
+1 -1
View File
@@ -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;
}