Skip to content

Commit

Permalink
added '\' escapes
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-b committed Nov 6, 2024
1 parent bd6cf31 commit 0a612ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const createFilterFromOptions = (
filters.push(options.filterQuery);
}
if (options.groupBy) {
const id = series.id.replace(/"/g, '\\"');
const id = series.id.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
const groupByFilters = Array.isArray(options.groupBy)
? options.groupBy
.map((field, index) => {
Expand Down

0 comments on commit 0a612ae

Please sign in to comment.