sr-npm 1.7.285 → 1.7.286

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.285",
3
+ "version": "1.7.286",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
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}`);
@@ -20,7 +20,6 @@ function getFilter(fieldsToSearch = [], mode = 'or') {
20
20
  ? (mode === 'or' ? filter.or(condition) : filter.and(condition))
21
21
  : condition;
22
22
  });
23
- console.log("filter@@@@@ is: ", filter);
24
23
  return filter;
25
24
  }
26
25