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

Fixed bug in how the JSON was being escaped for facet values

parent 2dfa2504
No related merge requests found
......@@ -26,7 +26,7 @@
"facet": true
},
"creator": {
"author": {
"resolve": "multi",
"facet": true
},
......
......@@ -267,7 +267,7 @@ class CatalogSolr {
if( !resolved ) {
return this.convertError(`@id ${value['@id']} not found`);
}
return JSON.stringify(resolved).replace(/"/g, '\'');
return JSON.stringify(resolved).replace(/"/g, '\"');
}
// returns
......
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