@optimiser/common 1.0.281 → 1.0.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/utility.js +2 -1
- package/package.json +1 -1
package/dist/lib/utility.js
CHANGED
|
@@ -1808,7 +1808,8 @@ function BuildGridFieldProjection(project, field, group) {
|
|
|
1808
1808
|
$reduce: {
|
|
1809
1809
|
input: { $concatArrays: searchConcatArry },
|
|
1810
1810
|
initialValue: "",
|
|
1811
|
-
in: { $concat: ["$$value", "$$this"] }
|
|
1811
|
+
//in: { $concat: ["$$value", "$$this"] } // Commented by and below line was added by Shahzaib, make int to string
|
|
1812
|
+
in: { $concat: ["$$value", { $toString: "$$this" }] }
|
|
1812
1813
|
}
|
|
1813
1814
|
};
|
|
1814
1815
|
break;
|