Skip to content

Commit

Permalink
Mccalluc/search facet labels (#1976)
Browse files Browse the repository at this point in the history
* Basic machinery

* A litte style. Case-insensitive matching.
  • Loading branch information
mccalluc authored and scottx611x committed Aug 7, 2017
1 parent 2099bdf commit d061a4d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<div class="panel-group data-set-filters" id="attribute-filter"
role="tablist"
aria-multiselectable="true">
<div class="refinery-subheader m-t-1">
<input ng-model="search" ng-init="search = ''" style="width: 100%;" placeholder="search...">
</div>
<div
ng-repeat="(attribute, attributeObj) in $ctrl.attributeFilters track by $index"
ng-init="attributeIndex = $index">
Expand All @@ -20,7 +23,7 @@ <h4 class="panel-title" ng-click="$ctrl.togglePanel(attribute)">
aria-labelledby="{{ attribute }}">
<div class="panel-body">
<div ng-repeat="field in attributeObj.facetObj track by $index">
<div class="checkbox container">
<div ng-show="field.name.toLowerCase().includes(search.toLowerCase())" class="checkbox container">
<div class="row">
<div class="col-xs-1">
<input
Expand Down

0 comments on commit d061a4d

Please sign in to comment.