sr-npm 1.7.680 → 1.7.682

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.680",
3
+ "version": "1.7.682",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -140,7 +140,8 @@ async function loadJobs(_$w) {
140
140
  for(const city of cities) {
141
141
  counter[city.city]=city.count
142
142
  }
143
-
143
+ console.log("valuesByFieldId: ",valuesByFieldId)
144
+ console.log("fields: ",fields)
144
145
  for(const [key, value] of valuesByFieldId) {
145
146
  for(const field of fields) {
146
147
  if(field._id===key) {
@@ -165,6 +166,8 @@ async function loadJobs(_$w) {
165
166
  _$w(`#${FiltersIds[field.title]}CheckBox`).selectedIndices = []; // start empty
166
167
  //_$w("#CategoryCheckBox").options = valuesByFieldId.get(elemenet);
167
168
  _$w(`#${FiltersIds[field.title]}CheckBox`).onChange(async (ev) => {
169
+ console.log("valuesByFieldId: ",valuesByFieldId)
170
+ console.log("fields: ",fields)
168
171
  dontUpdateThisCheckBox=field._id;
169
172
  console.log("dontUpdateThisCheckBox ",dontUpdateThisCheckBox)
170
173
  const selected = ev.target.value; // array of selected value IDs