Pager not keeping accurate records on filter
162Unlimited - October 21, 2008 - 20:08
| Project: | Content Management Filter |
| Version: | 5.x-1.0 |
| Component: | User interface |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
After filtering my results, the pager continues to display hundreds of pages of results when there are actually much less. Clicking the link to go to the last page of results returns the message "Filter returned no results."
It appears that the pages build its list of pages from the original, unfiltered results and does not update after a filter is enacted.
Overall, a great module. Keep up the good work. Thanks.

#1
162Unlimited, I noticed this (minor) bug since the beginning but I have to understand what is going on with the pagers because the code respects the API. More, I have other modules that use
pager_query()andtheme_pager()functions and there are no issues like that.Has anyone seen this kind of error before?
The
pager_query()code stands in cmf.module file and thetheme_pager()code stands in [node|comment|both].inc files.Thank you.
#2
Not seen it before but I get the same issue. when filtering by one user it gives pager 1-9 next last but there is only 1 page
If i filter by 'user list' - 'A' , who has created a few pages I get
Pager 1-9 next last - but there is only 1 page
If i filter by 'user list' - 'B' , ( myself - main admin) created 7000+ pages I get
no pager and just 1 page
Thinking that the problem may be caused by the general setting of 50, I changed the setting to 50000 - kills the module
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4359470 bytes) in /sites/all/modules/cmf/node.inc on line 160from logs
Invalid argument supplied for foreach() in /includes/form.inc on line 905.Disabling and re-enabling module does not fix
#3
I am also seeing this issue.
Is there a difference in how this module handles this pager compared to the one that ships with Drupal core?
#4
Links to other bugs related to '134217728 bytes exhausted' issue:
Watchdog - #167424: Cron jobs fail, all connected functionality (search, other modules) ceases to work
Content Access - #145523: Unable to rebuild permissions or install/uninstall module
IP to Country - #115027: Out of Memory on Install
Contemplate - #230885: CCK activates triggers Fatal error
Devel - #234581: Fatal memory size error #229386: Memory leak
Subscriptions - #211070: 1.x - Fatal error: Allowed memory size exhausted in subscriptions.module on line 878
Simplenews - #205798: "Fatal error: Allowed memory size of"...When I click on drupal/?q=admin/content/newsletters/settings
FileField Paths - #325973: multiple upload
Node import - #235433: Out of Memory error when running any import #246746: loop error
#5
#457034: when selecting "both" user warning: The used SELECT statements ... on line 498 and #410162: Extra pager - missing pager