sr-npm 1.7.285 → 1.7.287
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/careersPage.js +1 -0
- package/pages/homePage.js +0 -5
- package/public/filterUtils.js +0 -1
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -346,6 +346,7 @@ async function handleLocationParam(_$w,location) {
|
|
|
346
346
|
if (_$w('#dropdownLocation').options.find(option => option.value === locationValue))
|
|
347
347
|
{
|
|
348
348
|
_$w('#dropdownLocation').value = locationValue;
|
|
349
|
+
console.log("i am here!@@##!@#")
|
|
349
350
|
await applyFilters(_$w, true); // Skip URL update since we're handling initial URL params
|
|
350
351
|
}
|
|
351
352
|
else{
|
package/pages/homePage.js
CHANGED
|
@@ -88,10 +88,6 @@ async function handleSearchInput(_$w) {
|
|
|
88
88
|
const searchByTitle=[{field: 'title', searchTerm: trimmedInput}];
|
|
89
89
|
const searchByCity=[{field: 'cityText', searchTerm: trimmedInput}];
|
|
90
90
|
|
|
91
|
-
// const fieldsToSearch = [
|
|
92
|
-
// { field: 'title', searchTerm: trimmedInput },
|
|
93
|
-
// { field: 'cityText', searchTerm: trimmedInput }
|
|
94
|
-
// ];
|
|
95
91
|
|
|
96
92
|
let filter = await getFilter(searchByTitle);
|
|
97
93
|
|
|
@@ -124,7 +120,6 @@ async function handleSearchInput(_$w) {
|
|
|
124
120
|
|
|
125
121
|
function handleSearch(searchInput) {
|
|
126
122
|
const trimmedInput = searchInput.trim();
|
|
127
|
-
|
|
128
123
|
if (trimmedInput) {
|
|
129
124
|
if(searchByCityFlag){
|
|
130
125
|
location.to(`/positions?location=${trimmedInput}`);
|