sr-npm 1.7.283 → 1.7.285

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.283",
3
+ "version": "1.7.285",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/pages/homePage.js CHANGED
@@ -93,7 +93,7 @@ async function handleSearchInput(_$w) {
93
93
  // { field: 'cityText', searchTerm: trimmedInput }
94
94
  // ];
95
95
 
96
- const filter = await getFilter(searchByTitle);
96
+ let filter = await getFilter(searchByTitle);
97
97
 
98
98
  await _$w('#jobsDataset').setFilter(filter);
99
99
  await _$w('#jobsDataset').refresh();
@@ -126,7 +126,7 @@ function handleSearch(searchInput) {
126
126
  const trimmedInput = searchInput.trim();
127
127
 
128
128
  if (trimmedInput) {
129
- if(searchByCity){
129
+ if(searchByCityFlag){
130
130
  location.to(`/positions?location=${trimmedInput}`);
131
131
  }
132
132
  else{