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

Create a frontend url like https://database.cosmin.nl/?instrument_id=XX #74

Open
peer35 opened this issue Jul 8, 2024 · 3 comments
Open
Assignees
Labels
enhancement New feature or request eprovide

Comments

@peer35
Copy link
Owner

peer35 commented Jul 8, 2024

  • Add instrument id to SOLR index
  • Add a custom route to the catalog controller
@peer35 peer35 added enhancement New feature or request eprovide labels Jul 8, 2024
@peer35 peer35 self-assigned this Jul 8, 2024
@peer35
Copy link
Owner Author

peer35 commented Jul 8, 2024

I can now do: http://localhost:3013/?f[instrumentid_im][]=472
Downside is that the user does not know what instrument he was looking for.
image

Create a helper to either let the searchbox show the instrument name, or translate the query to a name (instrument_sm) query?

@peer35
Copy link
Owner Author

peer35 commented Jul 8, 2024

Or create a new instruments route /instrument/:id/search that forwards to a query by name.

@peer35
Copy link
Owner Author

peer35 commented Jul 9, 2024

New route: /instrument/:id

1e886da

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request eprovide
Projects
None yet
Development

No branches or pull requests

1 participant