[search] Input focus reseted when filtering terms in column popup
@@ -276,12 +276,9 @@ from metadata.conf import has_navigator
<script type="text/html" id="context-popover-collection-terms-details">
<div class="context-popover-flex-fill" data-bind="niceScroll">
- <div style="padding: 8px">
+ <input type="text" data-bind="value: terms.prefix, clearable: terms.prefix, valueUpdate:'afterkeydown'" placeholder="${ _('Filter...') }" class="pull-right">
<div data-bind="with: terms">
<!-- ko hueSpinner: { spin: $parent.loadingTerms, center: true, size: 'large' } --><!-- /ko -->
- <div class="pull-right" data-bind="visible: !$parent.loadingTerms()">
- <label class="muted margin-left-5 margin-bottom-10">${ _('Prefix filter') } <input type="text" data-bind="value: prefix, clearable: prefix, valueUpdate:'afterkeydown'" placeholder="${ _('Filter...') }" class="margin-left-10 no-margin-bottom"></label>
- </div>
<div class="clearfix"></div>
<div class="alert" data-bind="visible: !$parent.loadingTerms() && $data.data().length == 0">${ _('There are no terms to be shown') }</div>
<table style="width: 100%" data-bind="visible: !$parent.loadingTerms() && $data.data().length > 0" class="table table-condensed">
@@ -299,7 +296,6 @@ from metadata.conf import has_navigator
</table>
</div>
</div>
- </div>
</script>
<script type="text/html" id="context-popover-asterisk-details">
