Force minimum number of chars in search of events

Respecting SOGoSearchMinimumWordLength
pull/210/head
Francis Lachapelle 2016-06-01 15:00:24 -04:00
parent b008e220fe
commit e07a5f75ec
2 changed files with 5 additions and 1 deletions

1
NEWS
View File

@ -8,6 +8,7 @@ Enhancements
- [web] show progress indicator when loading messages and cards
- [web] display messages sizes in list of Mail module
- [web] link event's attendees email addresses to mail composer
- [web] respect SOGoSearchMinimumWordLength when searching for events or tasks
Bug fixes
- [web] fixed creation of chip on blur (sgTransformOnBlur directive)

View File

@ -508,7 +508,10 @@
<md-icon>arrow_back</md-icon>
</md-button>
<md-input-container class="md-flex" md-no-float="md-no-float">
<input name="folderSearch" type="search" label:placeholder="Search"/>
<input name="folderSearch" type="search" var:minlength="minimumSearchLength" label:placeholder="Search"/>
<div ng-messages="searchForm.folderSearch.$error" ng-show="searchForm.folderSearch.$dirty">
<div ng-message="minlength"><var:string value="minimumSearchLengthLabel"/></div>
</div>
</md-input-container>
<md-input-container flex="25">
<md-select label:aria-label="Search scope">