sr-npm 1.7.30 → 1.7.31

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.
@@ -11,6 +11,7 @@ const COLLECTIONS_FIELDS = {
11
11
  { key: 'count', type: 'NUMBER' },
12
12
  ],
13
13
  CITIES: [
14
+ { key: 'title', type: 'TEXT' },
14
15
  { key: 'city', type: 'TEXT' },
15
16
  {key:'locationAddress', type: 'ADDRESS'},
16
17
  {key:'count', type: 'NUMBER'},
package/backend/data.js CHANGED
@@ -198,6 +198,7 @@ async function aggregateJobsByFieldToCMS({ field, collection }) {
198
198
  value = normalizeCityName(value);
199
199
 
200
200
  return {
201
+ title: value,
201
202
  _id: value.replace(/\s+/g, ''),
202
203
  count: amount,
203
204
  locationAddress: locAddress,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.30",
3
+ "version": "1.7.31",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {