Always Show Pagination Overview#5591
Conversation
|
|
We might want to update the string as it will now read "Showing 1 to 1 of 1 results"? |
|
Yea, it's certainly a bit awkward. What about just |
|
That would be better I guess. |
|
If you're showing 10 records per page and there are 9 records available, the overview text shows but says While I'm willing to update this PR to account for the one page ( I think that I could pretty easily figure out the wording for the one page scenario out for non-English languages. For instance, this:
Would probably just become
But the one result scenario would likely be implausible for many languages, since many are likely much more complicated than simply dropping the My vote would probably be to deal with the awkwardness of the rarely seen |
|
In my opinion, if we're going to make any changes to this, we should fix the translations first instead of showing an awkward string. We probably don't even need new localization strings, since we can use pluralization. Mark the PR as ready when done so we can have another look. 😊 |
|
I've updated this PR to use Still not too sure if this change is worth it, as this will now show What do you think, @danharrin? |
|
This feels like the right solution to me. As long as @danharrin is OK with it, I'll try and update more language files. Thanks for getting to this @zepfietje, I've been massively sick for the last couple weeks. |
|
Thanks, hope you're starting to feel better @intrepidws |
When a resource has only one result, the pagination overview text (
Showing X to Y of Z results) is not shown. While it's obviously pretty easy to see that there is only one record, I find that the change in the UI is jarring. There really isn't a great reason not to show it IMO.This PR shows the pagination overview regardless of how many results there are.