Skip to content

user-specified quality category should override default #637

Closed
@cholmes

Description

@cholmes

Just tried to specify a category filter and got a filter that had both in it:

(planet-v2-cli) cholmes@x9t37m3hgt requests % planet data filter --string-in quality_category standard,test | jq
{
  "type": "AndFilter",
  "config": [
    {
      "type": "StringInFilter",
      "field_name": "quality_category",
      "config": [
        "standard",
        "test"
      ]
    },
    {
      "type": "PermissionFilter",
      "config": [
        "assets:download"
      ]
    },
    {
      "type": "StringInFilter",
      "field_name": "quality_category",
      "config": [
        "standard"
      ]
    }
  ]
}

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