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 +1 -1
- package/pages/homePage.js +2 -2
package/package.json
CHANGED
package/pages/homePage.js
CHANGED
|
@@ -93,7 +93,7 @@ async function handleSearchInput(_$w) {
|
|
|
93
93
|
// { field: 'cityText', searchTerm: trimmedInput }
|
|
94
94
|
// ];
|
|
95
95
|
|
|
96
|
-
|
|
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(
|
|
129
|
+
if(searchByCityFlag){
|
|
130
130
|
location.to(`/positions?location=${trimmedInput}`);
|
|
131
131
|
}
|
|
132
132
|
else{
|