Skip to content

Non empty queryset cast to list results in empty list #60

Open
@bbenko

Description

@bbenko

This happens on some instances of v. Works fine for others.

In [2]: v.browse.all()
Out[2]: [<Browse: Prosthodontics>, <Browse: Restorative Dentistry>]

In [3]: list(v.browse.all())
Out[3]: []

In [4]: list(v.browse.all().no_cache())
Out[4]: [<Browse: Prosthodontics>, <Browse: Restorative Dentistry>]

Another example for different instance that works fine:

In [14]: list(v2.browse.all())
Out[14]:
[<Browse: Proximal Humerus Reverse Shoulder>,
 <Browse: Reverse Shoulder Arthroplasty>]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions