From 51e0064636989945c6525ca3a177628101ea07cd Mon Sep 17 00:00:00 2001 From: JuanCarlos Date: Wed, 6 Mar 2019 11:18:25 +0100 Subject: [PATCH 1/4] Change the operators between tags --- .../wz-tag-filter/wz-tag-filter.html | 17 +++-- .../directives/wz-tag-filter/wz-tag-filter.js | 67 +++++++++++++++---- .../wz-tag-filter/wz-tag-filter.less | 6 +- 3 files changed, 71 insertions(+), 19 deletions(-) diff --git a/public/directives/wz-tag-filter/wz-tag-filter.html b/public/directives/wz-tag-filter/wz-tag-filter.html index 75e440ea64..949d4163bf 100644 --- a/public/directives/wz-tag-filter/wz-tag-filter.html +++ b/public/directives/wz-tag-filter/wz-tag-filter.html @@ -9,18 +9,23 @@ {{tag.value.name}} : {{tag.value.value}} - × + × - OR + - × + × - AND + + ng-focus='showAutocomplete(true)' ng-blur='showAutocomplete(false)' placeholder='Add filter or search' + ng-keyup='!autocompleteEnter && $event.keyCode == 13 ? addTag(true) : addSearchKey($event)' />

{{autocompleteContent.title}}