Closed louisboulagnon closed 2 years ago
Hello
API Platform version(s) affected:
=2.8.0
Description There seems to be a problem in the "total" computing since the #426 commit, the second if should be an else if https://github.com/api-platform/admin/blob/c2090ca346ddf34e654589554f6998378318594f/src/hydra/dataProvider.ts#L628-L642 Right now the total is overwritten by the partial pagination trick which is currently not working (#379) hence breaking normal pagination as well
if
else if
Thanks for the work here, cheers
Hello
API Platform version(s) affected:
Description
There seems to be a problem in the "total" computing since the #426 commit, the second
if
should be anelse if
https://github.com/api-platform/admin/blob/c2090ca346ddf34e654589554f6998378318594f/src/hydra/dataProvider.ts#L628-L642 Right now the total is overwritten by the partial pagination trick which is currently not working (#379) hence breaking normal pagination as wellThanks for the work here, cheers