Fix full text search at containers page
Containers page uses the standard Magic Search filtering, however its
full text search option doesn't work.
This patch makes the filtering work properly with full text search.
Closes-Bug:
<div class="col-xs-12">
<hz-magic-search-context filter-facets="cc.filterFacets">
<hz-magic-search-bar></hz-magic-search-bar>
- </hz-magic-search-context>
- <uib-accordion class="hz-container-accordion" ng-if="cc.model.containers.length > 0">
+
+ <uib-accordion
+ st-magic-search
+ st-table="cc.model.containers"
+ class="hz-container-accordion"
+ ng-if="cc.model.containers.length > 0">
<div uib-accordion-group ng-repeat="container in cc.model.containers"
ng-class="{'panel-primary': container.name === cc.model.container.name}"
class="panel-default"
uib-tooltip-trigger="mouseenter"
class="fa fa-trash hz-container-delete-icon"
ng-if="container.name === cc.model.container.name"
- ng-click="cc.deleteContainer(container)"></span>
+ ng-click="cc.deleteContainer(container)">
+ </span>
</div>
</uib-accordion-heading>
</span>
</li>
</ul>
- </div uib-accordion-group>
+ </div>
</uib-accordion>
<div class="col-xs-12" ng-if="cc.model.containers.length == 0">
<p><translate>No items to display.</translate></p>
</div>
+ </hz-magic-search-context>
</div>
</div>
</div>
