Skip to content
Snippets Groups Projects
Commit e0a87cdc authored by Mike Lynch's avatar Mike Lynch
Browse files

Restored record view, which broke when I changed the SolrService API

parent e36ef7a0
No related merge requests found
...@@ -25,8 +25,7 @@ const Router = async function (state) { ...@@ -25,8 +25,7 @@ const Router = async function (state) {
const res = await solrService.select({api: state.config.api}, { const res = await solrService.select({api: state.config.api}, {
start: 0, start: 0,
page: 1, page: 1,
searchParam: 'id', search: { id: query },
text: query,
facets: false facets: false
}); });
if (res.status === 200 && res.data["numFound"] === 1 ) { if (res.status === 200 && res.data["numFound"] === 1 ) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment