Skip to content

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

@fcharlier

Description

@fcharlier

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.

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