diff options
Diffstat (limited to 'install/ui/search.js')
-rw-r--r-- | install/ui/search.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/install/ui/search.js b/install/ui/search.js index 934000b9f..b88de20a7 100644 --- a/install/ui/search.js +++ b/install/ui/search.js @@ -254,6 +254,10 @@ IPA.search_facet = function (spec) { spec = spec || {}; + spec.name = spec.name || 'search'; + spec.label = spec.label || IPA.messages.facets.search; + + spec.display_class = 'search-facet'; var that = IPA.facet(spec); @@ -298,6 +302,11 @@ IPA.search_facet = function (spec) { return column; }; + that.column = function(spec){ + that.create_column(spec); + return that; + }; + that.setup_column = function(column) { column.setup = function(container, record) { container.empty(); |