gramene-search 1.7.4 → 1.7.6
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/.parcel-cache/83e7562660f7cc15-BundleGraph +0 -0
- package/.parcel-cache/d3a1b9507cb44047-AssetGraph +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/dc1da35000e13623-RequestGraph +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/.parcel-cache/snapshot-dc1da35000e13623.txt +2 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/bundles/api.js +2 -1
- package/src/bundles/filters.js +1 -1
|
Binary file
|
|
Binary file
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
929745698
|
|
2
|
+
1769788568363638000
|
package/dist/index.js
CHANGED
|
@@ -542,7 +542,8 @@ const $9d9aeaf9299e61a1$var$grameneSearch = (0, $gXNCa$reduxbundler.createAsyncR
|
|
|
542
542
|
console.log('search add a fq for ', taxa);
|
|
543
543
|
fq = `&fq=taxon_id:(${taxa.join(' OR ')})`;
|
|
544
544
|
}
|
|
545
|
-
return fetch(`${store.selectGrameneAPI()}/search?q=${store.selectGrameneFiltersQueryString()}&facet.field=${
|
|
545
|
+
// return fetch(`${store.selectGrameneAPI()}/search?q=${store.selectGrameneFiltersQueryString()}&facet.field=${facets}&rows=${rows}&start=${offset}${fq}&stats=true&${statsFields.join('&')}`)
|
|
546
|
+
return fetch(`${store.selectGrameneAPI()}/search?q=${store.selectGrameneFiltersQueryString()}&facet.field=${$9d9aeaf9299e61a1$var$facets}&rows=${rows}&start=${offset}${fq}`).then((res)=>res.json()).then((res)=>{
|
|
546
547
|
res.response.docs.forEach((d)=>{
|
|
547
548
|
d.can_show = {};
|
|
548
549
|
d.capabilities.forEach((c)=>{
|
|
@@ -1033,7 +1034,7 @@ const $af4441dd29af05df$var$grameneFilters = {
|
|
|
1033
1034
|
status: 'finished'
|
|
1034
1035
|
});
|
|
1035
1036
|
case 'GRAMENE_GENOMES_UPDATED':
|
|
1036
|
-
if (
|
|
1037
|
+
if (state.status === 'ready') return Object.assign({}, state, {
|
|
1037
1038
|
status: 'search'
|
|
1038
1039
|
});
|
|
1039
1040
|
case 'URL_UPDATED':
|