huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
242 stars 80 forks source link

[IX] The number of "totals" (table entries, selected items) is wrong #6809

Closed aphilop closed 5 months ago

aphilop commented 5 months ago

The number of "totals" in the text "Showing 1 of 1 of 100" in the table footer is wrong. Apparently is just multiplying the amount of pages by the maximum amount of items per page, disregarding the fact that the last page could have less items. The same applies to the number of "totals" in the text "Selected 1 of 100" in the footer of the page.

image