#1507 Unable to switch page in association facet
Closed: Fixed None Opened 12 years ago by edewata.

The association facet uses table widget which supports pagination to show results in multiple pages. It should be able to switch page by clicking the Prev or Next buttons, or entering a specific page number. However, currently this doesn't work.

The facet uses the 'page' URL parameter to indicate the page to be shown. In a recent URL simplification the navigation code was changed to only read parameters prefixed with the current entity name (e.g. user-*), so changing the 'page' parameter no longer triggers hash change event which would have updated the page.

One option is to change the parameter name to '<entity>-page'. However, since an entity may contain multiple association facets and it's possible that a facet contains multiple tables that use pagination, this name could conflict.

Another option is to use more unique parameter name such as '<entity>-<facet>-page' or '<entity>-<facet>-

-page', but this would complicate the URL.


Metadata Update from @edewata:
- Issue assigned to edewata
- Issue set to the milestone: FreeIPA 2.1 - 2011/07

7 years ago

Login to comment on this ticket.

Metadata