diff --git a/src/api/analytics/AnalyticsBase.js b/src/api/analytics/AnalyticsBase.js index 98e41c1a8..3bd153818 100644 --- a/src/api/analytics/AnalyticsBase.js +++ b/src/api/analytics/AnalyticsBase.js @@ -62,11 +62,10 @@ const analyticsMetaDataQuery = { export const generateDimensionStrings = (dimensions = [], options) => { const sortedDimensions = sortBy(dimensions, 'dimension') - console.log('arrays the same?', sortedDimensions === dimensions) return sortedDimensions.map(({ dimension, items }) => { if (Array.isArray(items) && items.length) { if (options && options.sorted) { - items.sort() + items = items.slice().sort() } return `${dimension}:${items.join(';')}`