Not getting the exact View results.

Created on 17 August 2018, almost 6 years ago
Updated 14 December 2023, 6 months ago

Lets say I have a view with exposed filters and pager which is set to display 50 items per page. When I load the page of the view initially I get all the 200 items loaded and set by 50 items per page in total 4 pages. When I apply some of the filters I get 70 results i.e. 1st page 50 results, 2nd page 20 results. When I call

$results = views_get_view_result('view_name', 'display_id');

I get array with 50 objects in $results instead of 70. Also this applies to the initial load of the view page i.e. I get 50 results instead of 200.

πŸ’¬ Support request
Status

Postponed: needs info

Version

9.5

Component
ViewsΒ  β†’

Last updated about 2 hours ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡±Netherlands Lendude Amsterdam

    Going through old issues for the Bug Smash Initiative

    I would expect you to always get just 50 results, so the 200 sound strange. Should this still be a problem, please provide some steps to reproduce your issue.

Production build 0.69.0 2024