Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mccalluc/search facet labels #1976

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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