Skip to content

Export has duplicates #47

@uchajk

Description

@uchajk

Export yields unexpected results. We see multiple duplicates in the exported excel file.
The problem stems from this line:

$query = $dataTable->getFilteredQuery()->lazy($chunkSize);

Notice that if the filtered query is not ordered by id (or any unique column), the order of the rows might differ between the calls.
I would suggest using lazyById, but then we would have to pass the name of the column we want to use for lazyById.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions