summaryrefslogtreecommitdiffstats
path: root/install/static/search.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-12-04 00:29:05 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2010-12-06 12:52:47 -0500
commit10f3c0825bfdffa6035e78066001eb3bdc759143 (patch)
treee1a2ddef0846e12275cd661752217e461a204b7c /install/static/search.js
parent37f48c0019c64f20bfc24b021442b643eaf86aab (diff)
downloadfreeipa-10f3c0825bfdffa6035e78066001eb3bdc759143.tar.gz
freeipa-10f3c0825bfdffa6035e78066001eb3bdc759143.tar.xz
freeipa-10f3c0825bfdffa6035e78066001eb3bdc759143.zip
entity i18n
Updated the user,group,host, hostgroup, netgroup, service, and all policy entities to use the newer framework functions, in order to replaced the old array style definitions which did not support i18n. update a few of the newer framerwork functions to get the lables from the meta data. Fixed the unit tests which were expecting a details facet for users, no longer automatically created
Diffstat (limited to 'install/static/search.js')
-rw-r--r--install/static/search.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/install/static/search.js b/install/static/search.js
index f267c701..a9f71b9a 100644
--- a/install/static/search.js
+++ b/install/static/search.js
@@ -285,6 +285,13 @@ function ipa_search_facet(spec) {
};
that.create_column = function(spec) {
+ if (!spec.label){
+ var param_info = ipa_get_param_info(this.entity_name, spec.name);
+ if (param_info){
+ spec.label = param_info.label;
+ }
+ }
+
var column = ipa_column(spec);
that.add_column(column);
return column;