Problem/Motivation
The "More link" won't render under the Views pager when using the "some" pager and there are more records.
In file web/core/modules/views/src/Plugin/views/pager/Some.php, the function postExecute() overwrite the total_items, which was set correctly in file web/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php, function executeCountQuery().
This bug could be introduced by https://www.drupal.org/project/drupal/issues/3265798
See another user report in https://www.drupal.org/project/drupal/issues/3265798#comment-15159116
Steps to reproduce
- Create a View with more than 3 records
- Under the "Pager" option, select "Display a specified number of items" and set "3" items for "Use pager"
- select "Yes" for "More link"
You cannot see the more link in the preview. To enforce, you must use "Always display the more link" in the "More link" setting.