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

While listing components, limiting results seems to be applied before some filters #77

Open
fcharlier opened this issue May 10, 2019 · 0 comments

Comments

@fcharlier
Copy link
Member

Note: This might be a duplicate of #57.

When using dcictl as a partner:

$ dcictl component-list --topic-id=8bd5a6f6-fe80-4699-b422-27c33e92f60a | wc -l                       
5
$ dcictl component-list --topic-id=8bd5a6f6-fe80-4699-b422-27c33e92f60a --where state:active | wc -l
54
$ dcictl component-list --topic-id=8bd5a6f6-fe80-4699-b422-27c33e92f60a --where export_control:True | wc -l
54

As an administrator, I can see that there are a lot of components with state:inactive & ``export_control:False``` for this topic.

I suspect that the first command is applying the 100 results limit & only then applying the export_control or state filtering when it should apply the 100 results limit only before returning the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant