Skip to content

MyModel.first fails with NameError for models without an #indexer #1459

Description

@no-reply

e.g. in Hydra::PCDM:

Hydra::PCDM::File.first

Querying#default_sort_params tries to use the indexer (why does it do this at runtime!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Backlog
    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions