summaryrefslogtreecommitdiffstats
path: root/install/ui/policy.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-08-27 17:41:28 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-08-29 12:00:15 +0200
commitedbcd28f44fb5c123440c246965166d5947554e6 (patch)
tree78720547e7fab7951b306898b3f72a9efcdf566d /install/ui/policy.js
parent81007ff38578588906737df3082b42fb7f2ee011 (diff)
downloadfreeipa-edbcd28f44fb5c123440c246965166d5947554e6.tar.gz
freeipa-edbcd28f44fb5c123440c246965166d5947554e6.tar.xz
freeipa-edbcd28f44fb5c123440c246965166d5947554e6.zip
Password policy paging with proper sorting
This patch adds option to disable sorting when paging. It allowed to enable paging in password policy with order of items untouched (they are sorted on server side by priority). Also fixing issue when paging is disabled and command summary = null. It displayed 'null' in facet footer. https://fedorahosted.org/freeipa/ticket/2677
Diffstat (limited to 'install/ui/policy.js')
-rw-r--r--install/ui/policy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js
index ff932bec4..c109163e4 100644
--- a/install/ui/policy.js
+++ b/install/ui/policy.js
@@ -33,7 +33,7 @@ IPA.pwpolicy.entity = function(spec) {
that.entity_init();
that.builder.search_facet({
- pagination: false,
+ sort_enabled: false,
columns:['cn','cospriority']
}).
details_facet({