Skip to content

"Cannot reorder a query once a slice has been taken." - Pagination is not supported #2

Open
@vdboor

Description

@vdboor

Due to the use of jqTree, the tree should start with root nodes only. This breaks with pagination, causing the error:

Cannot reorder a query once a slice has been taken.

This happens because the adminlist_recursetree attempts to sort the tree on lft value. To really fix this issue, the next page should start with the first root too. That could be implemented by using a custom paginator on the parent admin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions