]> Git — Sourcephile - gargantext.git/commit
Fix subtle bug in searchTableNgrams
authorAlfredo Di Napoli <alfredo@well-typed.com>
Mon, 8 May 2023 13:16:10 +0000 (15:16 +0200)
committerAlfredo Di Napoli <alfredo@well-typed.com>
Mon, 8 May 2023 14:35:32 +0000 (16:35 +0200)
commit04e236024590d799246fb50d7bc935beadc06f0a
tree3a7bf7da656b9aa5162f9d960d75580666b95baa
parent75488abc50bee7886b51765ceb22b1052c1c83ba
Fix subtle bug in searchTableNgrams

This commit fixes a bug (or feature? unclear at this stage) of the
`rootOf` function inside `searchTableNgrams`, which could, in some
occasion, return a root which has a different `ListType`, which
in turn throws off pagination.
gargantext.cabal
package.yaml
src-test/Ngrams/Query.hs
src-test/Ngrams/Query/PaginationCorpus.hs
src/Gargantext/API/Ngrams.hs
test-data/ngrams/GarganText_NgramsTerms-QuantumComputing.json [new file with mode: 0644]