Skip to content

FIilter datasets by findability on publishers page  #225

@zelima

Description

@zelima

Originally coming from here datopian/datahub.io#154

We need to filter page by findability. Eg I'm interested to see only private datasets of mine

Acceptance Criteria

  • Able to type private and get datasets (maybe like GitHub search?)
  • or alternatively dropdown

Tasks

  • do analysis and decide on solution
  • implement

Analysis

  • We can refactor our search to include switch statement, so it catches the following cases:
    • published - and returns only published
    • private - and returns only private
    • unlisted - and returns only unlisted

Somewhere here https://github.com/datahq/frontend/blob/master/routes/index.js#L1021 we can check query param and add get datasets by findability
We can refactor metastore search https://github.com/datahq/metastore/blob/master/metastore/blueprint.py to search by findability

https://api.datahub.io/metastore/search?q=datahub.ownerid=${ownerid}&token=${jwt}&findability=private

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions