gramene-search 1.6.33 → 1.6.34

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.
Binary file
Binary file
@@ -1,2 +1,2 @@
1
- 261726238
2
- 1752850857280378000
1
+ 261866942
2
+ 1752852912270260000
package/dist/index.js CHANGED
@@ -2289,7 +2289,11 @@ const $9e29a4f60318db7a$var$Detail = (props)=>{
2289
2289
  let eList = props.expressionStudies[tid];
2290
2290
  if (props.searchResult.hasOwnProperty('expressed_in_gxa_attr_ss')) {
2291
2291
  const in_gxa = new Set(props.searchResult.expressed_in_gxa_attr_ss);
2292
- eList = props.expressionStudies[tid].filter((e)=>in_gxa.has(e._id));
2292
+ eList = props.expressionStudies[tid].filter((e)=>in_gxa.has(e._id)).sort((a, b)=>{
2293
+ const a_name = `${a.type}:${a.description || a._id}`;
2294
+ const b_name = `${b.type}:${b.description || b._id}`;
2295
+ return a_name < b_name ? -1 : 1;
2296
+ });
2293
2297
  }
2294
2298
  setAtlasExperimentList(eList);
2295
2299
  let refExp = eList.filter((e)=>e.isRef);