Skip to content

categories + pagination overwriteDemand is missingΒ #35

@hendrikhph

Description

@hendrikhph

hi georg πŸ‘‹
had the problem that my pagination partial did not receive the overwrite demand for categories when trying to navigate to other pages when a category is selected by the filter plugin and has multiple pages.

i just passed the overwriteDemand in the list template and also in the pagination partial

#list template
#old: 
<f:render partial="List/Pagination" arguments="{pagination: pagination.pagination, paginator: pagination.paginator}" />
#new: 
<f:render partial="List/Pagination" arguments="{pagination: pagination.pagination, paginator: pagination.paginator, overwriteDemand: overwriteDemand}" />

#i used numbered_pagination ext partial file
#old:
<a href="{f:uri.action(action:actionName, arguments:{currentPage: pagination.previousPageNumber})}" title="{f:translate(key:'widget.pagination.previous',extensionName:'fluid')}">
    {f:translate(key:'widget.pagination.previous', extensionName: 'fluid')}
</a>
#new:
<a href="{f:uri.action(action:actionName, arguments:{currentPage: pagination.previousPageNumber, overwriteDemand: overwriteDemand})}" title="{f:translate(key:'widget.pagination.previous',extensionName:'fluid')}">
    {f:translate(key:'widget.pagination.previous', extensionName: 'fluid')}
</a>

hope that helps, greetings :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions