Closed (fixed)
Project:
Custom Pagers
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2008 at 23:54 UTC
Updated:
19 Feb 2010 at 18:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
huayen commentedNotice this post right before I post a bug report.....I got exactly the same problem.
Reinstalled module, cleared cache....none solve it.
Comment #2
huayen commentedI think this is a critical bug, since it completely prevents the goal of this module. Hope this can be fixed asap. Thanks.
Comment #3
Andrey Zakharov commentedups, #279925: views and custom_pagers works strange (view->execute) :)
Comment #4
Andrey Zakharov commentedfound solution:
Comment #5
samirnassar commentedWhile not in a patch file the modified code works as advertised and didn't eat my children.
Comment #6
stellarvisions commentedI have 16 items in the view, displaying 4 per page.
The pager, with this patch, is now saying "1 of 4" not "1 of 16"
stella
Stellarvisions
Comment #7
epikur79 commentedIm using a view with arguments and have the same problem. Applying the patch above does not help.
Adding
$view->pager['items_per_page'] = 0;
just before
$view->execute();
solves the issue for me however.
Comment #8
webchickComment #9
hansamurai commentedI have the same problem, you can see it in action on my site, here's a link to the view page where there are more than 10 items but only the 10 most recent appear in the custom pager (click on one of the nodes near the top, the pager is in the sideblock).
http://firsthour.net/first-hour-review
Edit: epikur79's fix works for me, so you can't see it broken anymore. Sorry! :)
Comment #10
MGN commentedI've tried both Vaulter's and epikur79's solution on views with and without arguments, on three different content types. Vaulter's patch doesn't solve the problem - still getting fewer items in the pager than in the view. epikur79's solution works in all the cases that I have tested.
Comment #11
spiffyd commentedCan someone roll epikur79's solution into a patch? Thanks
Comment #12
spiffyd commentedAttached is the module with epikur79's suggested changes. IT works for me and fixes the problem.
Comment #13
Anonymous (not verified) commentedworked for me too, but noticed that the text 'prev post' and 'next post' are not used with the t function...
should be => t('prev post') and t("next post")
Should I post this as a feature request ?
Comment #14
spiffyd commentedYou can try to roll a patch on this thread.
Comment #15
TomMynd commentedHi,
the file from spiffyd works for me too.
Best regards, Tom
Comment #16
Anonymous (not verified) commentedthe file that was provided does not work from me. i still only see 10 items instead of the 24 that i have.
has anyone found another solution?
Comment #17
clau_bolson commentedUse epikur79's solution.
The file to modify is custom_pagers.module.
Comment #18
Anonymous (not verified) commentedMy views is set to 24 items and I used epikur79's solution but i still only get 10.
Comment #19
Anonymous (not verified) commentednever mind i got it working
Comment #20
Anonymous (not verified) commentedhow ? What was your problem ? Maybe your solution might help others like you...
Comment #21
Anonymous (not verified) commentedit had to do with both solutions. i did #4 then #7 but with installing the current module then only do solution #7 it works fine.
it turns out it was an error on my part.
Comment #22
dergachev commentedsee this http://drupal.org/node/315032#comment-1134689
Comment #23
Flying Drupalist commentedPlease commit?
Comment #24
Mark Theunissen commentedSubscribing
Comment #25
yoeld commentedDoes not work for me. I have 18 items, but custom pagers sees only 10 ... . Moreover, it does not respect the sorting order as I defined in the view.
Comment #26
joshuast commentedsubscribing
Comment #27
robertdouglass commentedConfirm that this patch fixes the problem:
(Sorry for no real patch)
Comment #28
robertdouglass commentedConfirm that this patch fixes the problem:
(Sorry for no real patch)
Comment #29
Anonymous (not verified) commentedSubscribing. I'm seeing the same issue on a development site I'm building. The view returns more than 10 items but the page only goes up to the 10th item. You can see it in action at http://new.julietlofaro.com/gallery.
Rob Safuto
Comment #30
Anonymous (not verified) commentedI have made the adjustment in #28 and it works on a one page view. Where previously I could page to 10 of 14 items I can now I can page to all of the items on the page.
Rob Safuto
Comment #31
nnewton commentedLast solution works for me.
Comment #32
Flying Drupalist commentedCommit perhaps?
Comment #33
Standart commentedPatch against 6.x-1.x-dev.
Comment #34
Mark Theunissen commentedPlease commit.
Comment #35
eaton commentedCommitted to the 6.x 1.x dev branch, will be rolled into a new release shortly. Thanks!
Comment #36
Mark Theunissen commentedThank you!
Comment #38
garywg commentedThank you for posting this. This fixed my problem. Thanks epikur79. The posting advice is right. If you look a little bit you usually find the answer.
garywg
Comment #39
krisrobinson commentedI had this problem as well, I upgraded to the latest dev release with the committed fix and solved my problem. Thanks a million.
Comment #40
argosmm commentedThanks Denis
worked for me too