Paging disable for password policies

Password policies are sorted by priority. When paging is enabled, table facet uses pwpolicy-find --pkey-only to get all pwpolicies keys. Those keys are sorted on server by priority but table facet sorts them again. This breaks the priority sorting.

This patch disables the paging in passord policy serch page so the keys are sorted by priority.

TODO: we should inspect sorting in table facet more deeply and disable it if it don't break anything.

https://fedorahosted.org/freeipa/ticket/2676
This commit is contained in:
Petr Vobornik 2012-04-26 08:54:25 +02:00 committed by Martin Kosek
parent c34136b037
commit e1f6962545

View File

@ -33,7 +33,9 @@ IPA.pwpolicy.entity = function(spec) {
that.entity_init();
that.builder.search_facet({
columns:['cn','cospriority']}).
pagination: false,
columns:['cn','cospriority']
}).
details_facet({
sections:[
{