artsy / rosalind

Admin app for batch operations on genomes
https://artsy.github.io/blog/2019/05/09/rosalind/
MIT License
5 stars 8 forks source link

fix: update parsing of ES hits' total count #775

Closed anandaroop closed 4 months ago

anandaroop commented 4 months ago

As noted when planning out the ES 7 upgrade: hits.total is now an object in the search response

This accounts for that, and fixes this glitch:

Before

Screenshot 2024-03-13 at 5 31 59 PM

After

Screenshot 2024-03-13 at 5 32 29 PM

mzikherman commented 4 months ago

Good spot!