peer35 / cosmin

COSMIN database of systematic reviews. Based on Blacklight + ActiveRecord for record management
https://database.cosmin.nl
0 stars 0 forks source link

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

Open peer35 opened 2 months ago

peer35 commented 2 months ago
peer35 commented 2 months ago

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 commented 2 months ago

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

peer35 commented 2 months ago

New route: /instrument/:id

https://github.com/peer35/cosmin/commit/1e886da963294c66bd50b4c67af98b13bab48cfc