Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add search functionality #527

Closed
karolina-siemieniuk-morawska opened this issue Aug 9, 2024 · 0 comments
Closed

Add search functionality #527

karolina-siemieniuk-morawska opened this issue Aug 9, 2024 · 0 comments

Comments

@karolina-siemieniuk-morawska
Copy link
Collaborator

karolina-siemieniuk-morawska commented Aug 9, 2024

Enhance the search functionality by adding specific fields to the search_fields configuration. This update should allow users to search for workflows using various identifiers such as email addresses, ORCID IDs, INSPIRE BAIs, and names.

Technical Notes

Add the following fields to search_fields:

  • data.email_addresses.value
  • data.ids.*
  • data.name.*
  • data.status

Acceptance Criteria

Users should be able to search using an email address, ORCID ID, INSPIRE BAI, or name and find the corresponding workflow.

For example, if a workflow contains the following data:

"data": {
  "ids": [
    {
      "value": "0000-0003-3302-1417",
      "schema": "ORCID"
    },
    {
      "value": "FrankCastle",
      "schema": "INSPIRE BAI"
    }
  ],
  "name": {
    "value": "Castle, Frank",
    "preferred_name": "Frank Castle"
  },
  "email_addresses": [
    {
      "value": "[email protected]",
      "current": true
    }
  ]
}

A search for 0000-0003-3302-1417, FrankCastle, or [email protected] should return the workflow containing the above data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants