research-software-directory / RSD-as-a-service

This repo contains the new RSD-as-a-service implementation
https://research.software
23 stars 14 forks source link

Pagination counts pages of results #1098

Closed cmeessen closed 6 months ago

cmeessen commented 8 months ago

On the software and projects overview, the pagination counter counts:

Page <page number> of <total software/project entries>

This information relates numbers of different entities (pages vs. total entries) to each other which do not correlate. As a visitor I would expect that when I navigate to the last page, both numbers are the same.

Here is an example of the last page in the software overview:

image

I propose that the page counter could behave like one of the following examples:

jmaassen commented 8 months ago

Indeed, the current approach mixes two units which is weird. The two bottom suggestions make the most sense to me, but if we go for either of those we lose the total result counter? I don't think its somewhere else on the page.

dmijatovic commented 8 months ago

We have another approach on the organisation overview page, where we use count-range instead of page count (see image or link)?

image