The number of written papers showed in the authors page does not correspond to the real number of papers that is showed in the single author modal. This should not be a problem of the web app but instead a problem of the API as the received JSON contains the same errors but only with different offset numbers .
Moreover, in the "all authors" view there are several cases of duplications of the same author.
Maybe the duplication error is caused by a the OFFSET working on queries that return different results due to their lack of the ORDER BY?
Observation: when running the "all authors" query with a big number of lines (LIMIT 100000 OFFSET 0) the results are correct: each authors contains the number of effective papers he wrote and there are no author duplicates. It seems like the problem comes from a combination of LIMIT, OFFSET and the lack of ORDER BY.
The number of written papers showed in the authors page does not correspond to the real number of papers that is showed in the single author modal. This should not be a problem of the web app but instead a problem of the API as the received JSON contains the same errors but only with different offset numbers .
Moreover, in the "all authors" view there are several cases of duplications of the same author.
Maybe the duplication error is caused by a the OFFSET working on queries that return different results due to their lack of the ORDER BY?
Observation: when running the "all authors" query with a big number of lines (LIMIT 100000 OFFSET 0) the results are correct: each authors contains the number of effective papers he wrote and there are no author duplicates. It seems like the problem comes from a combination of LIMIT, OFFSET and the lack of ORDER BY.