sr-npm 1.7.578 → 1.7.579
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
|
@@ -284,6 +284,17 @@ async function refreshFacetCounts(_$w) {
|
|
|
284
284
|
_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.SELECTED_VALUES_REPEATER).data = selectedItems;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
+
async function findAll(q) {
|
|
288
|
+
const out = [];
|
|
289
|
+
let res = await q.limit(1000).find();
|
|
290
|
+
out.push(...res.items);
|
|
291
|
+
while (res.hasNext()) {
|
|
292
|
+
res = await res.next();
|
|
293
|
+
out.push(...res.items);
|
|
294
|
+
}
|
|
295
|
+
return out;
|
|
296
|
+
}
|
|
297
|
+
|
|
287
298
|
|
|
288
299
|
module.exports = {
|
|
289
300
|
careersMultiBoxesPageOnReady
|