Skip to content

Image Manager pagination bug #12668

@batumibiz

Description

@batumibiz

OC version - master branch on 03.09.2023

If there are more than 10 files in a single folder with images, an unpleasant pagination problem occurs.

HOW TO REPRODUCE

  1. Create any folder (for example "test") in the /image/catalog/
  2. Place 30-50 image files (for example, JPG) in the created folder.
  3. In the admin panel, try adding an image for any product or category by selecting an image from the folder we created.
  4. Look at the behavior of Image Manager.

This bug behaves differently on Linux and Windows servers (in both cases, Apache + PHP 8.1).

  • On Linux, it adds several rows of images with each subsequent page.
  • On Windows, the first pages are generally blank, images are visible starting from the 4th page. Further as on Linux: it adds several rows of images with each subsequent page.

Somewhere on page 7-8, all images from the folder are on the same page.
Does anyone know how to properly fix this issue?

screenshot-isoap-2023 09 03-16_57_33

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