Skip to content

No pagination in admin list (a long history fails or super slow to load)Β #1117

@defigor

Description

@defigor

Describe the bug
There is no pagination available when view a list of history for an object. It causes very long load times or timeouts (depending on the configuration). So it loads the whole history of the object, instead of only N items at single time. Ideally it should be configurable how many items to load at single time.

To Reproduce
Steps to reproduce the behavior:

  1. Create a model with history, ideally the model should have several big fields
  2. Create an object with a lot of history 100+ (or even better 1000+)
  3. Go to admin and view the list of history for this object
  4. Depending on your setup, it will take a long time to load the WHOLE history or will time out (in our case we have setup 30 seconds time out).

Expected behavior
A pagination available for admin, that is available for standard (non-historical) models, that allows to load only N items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions