A way to allow a view to determine how many posts are displayed?
jmather - October 26, 2009 - 19:36
| Project: | Panels |
| Version: | 6.x-3.1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
It seems that if we leave a view in a pane with a 0 for the num posts field it will show all posts regardless of the setting for "items to display" in the view itself is this correct?
If that is so is there a way to allow the view to control how many posts are displayed when embedded in a pane? It seems that if we embed a view in a pane the setting on the view for "items to display" is no longer used is this correct?

#1
0 does mean 'all posts' because showing 0 would in fact be meaningless. This is simply a special meaning to the number 0 on that setting.
#2
So does the setting "items to display" in the view settings do anything when embedded in a pane? Or is it completely overridden by the num posts field?
#3
It is overridden by the num posts field, but only if you use the checkbox to override the value.
#4
Hmm, perhaps I'm missing that checkbox? I attached a screenshot of what I'm seeing....
#5
This issue is marked as being against 3.1, but that screenshot is against 3.0
#6
That is truly my bad, I miss marked it, sorry for wasting your time if that is fixed in 3.1? If so I owe some karma points and am a big jerk...sorry.
#7
Yes, grab the newest 3.2 which has addressed that issue.
#8
OH and be sure to update CTools & Panels simultaneously. Don't forget update.php =)
#9
Automatically closed -- issue fixed for 2 weeks with no activity.