Skip to content

ref gives inconsistent results #36

@animeshmanglik

Description

@animeshmanglik

Documents in Custom Type

Author	author	Repeatable	142 docs.	
Category category Repeatable	16 docs.	
Product	product	Repeatable	6304 docs.		
Series	series	Repeatable	7 docs.	
Source	source	Repeatable	169 docs.	

Trying to use these commands to get sources documents.

form = api.form("everything")
form.ref(api.get_master()).query("""[[any(document.type, ["source"])]]""").page_size("100")
form.submit().documents

The results are inconsistent, sometimes it spurts out only products.

When I use this command multiple times.

form.ref(api.get_master()).query("""[[any(document.type, ["source"])]]""").page_size("100")

It returns the correct result.

Not too sure whats happening.

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