Skip to content

Remove hard-coded reference to species.id #347

@jwalgran

Description

@jwalgran

When converting a filter selection to a query, there is a hard-coded reference to species.id

- (NSDictionary *)queryParams {
if ([self active]) {
return @{ @"species.id": @{ @"IS": speciesId }};
} else {
return [NSDictionary dictionary];
}
}

Other filters read their field identifier dynamically from the instance info API response. Species should not be an exception.

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