Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export csv returns more than results equal to limit #13658

Closed
u12206050 opened this issue Jun 1, 2022 · 1 comment · Fixed by #13694
Closed

Export csv returns more than results equal to limit #13658

u12206050 opened this issue Jun 1, 2022 · 1 comment · Fixed by #13694
Assignees
Labels

Comments

@u12206050
Copy link
Contributor

Describe the Bug

When exporting a large list with +10000 items, and applying a filter I see the results should be 6000, I then set the limit to 10000 (just in case) and export.

Since the list is so large it doesn't allow me to download directly so it gets stored in assets. Upon downloading the csv file I notice it is filled with 9999 results and not 6000.

Upon further investigation I find there are quite a number of duplicates present, and that it also happens without a filter.

To Reproduce

On a large set of items, select export and filter items the items to be less than all the items.

Set the limit to 2x what it says the number of results are.

Screenshot 2022-06-01 at 10 27 56

Now download the file and check the amount of results. For the example above here is the amount of lines in the csv

Screenshot 2022-06-01 at 10 30 02

Errors Shown

No response

What version of Directus are you using?

9.11.1

What version of Node.js are you using?

16.4.0

What database are you using?

mysql 8 and Postgres 13

What browser are you using?

edge

How are you deploying Directus?

Locally & GCP

@Jeyakumarrathnaselvi
Copy link

Yes i noticed the same issue recently

@licitdev licitdev mentioned this issue Jun 3, 2022
7 tasks
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants