Needs review
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2013 at 13:06 UTC
Updated:
16 Jan 2020 at 05:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
boyan.borisov commentedI found a solution that handles the items_per_page setting.
My idea is to add the items_per_page setting in the view ajax POST parameters and to use this parameter in the ajax view callback to set the correct setting.
Comment #2
anybodyThe problem still exists and I think a solution is really required. Can someone perhaps have a look, how to solve this properly?
If there is already a good solution, an example implementation would help a lot, because this problem doesn't seem to be that seldom.
Comment #3
anybodyI've used this patches base idea for a related problem and it works great.
#2052985: AJAX reload does NOT respect pager settings (items_per_page, etc.)
If this patch is finally applied to views, the related issue should be updated and becomes much smarter or is even no more required.
Comment #4
henrijs.seso commented#1 works well here.Also related #1910608: Ajax + Allow settings: Allowed settings lost on ajax (exposed forms/pager)
Comment #5
jelo commentedSame issue on my sites. Would be great to get a solution committed... I will try the patch soon.
Comment #6
loparev commentedhi. I have improved your patch
Comment #7
rkostov commentedThe patches do not apply to 7.x-3.18 version. This was re-created from the first one and it's applicable to 7.x-3.18 version.
Comment #8
jedsaet commentedPatch in #7 worked for me, I just had to re-roll against dev. Fixed a couple of coding standards issues while I was at it. :)