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

merlinofchaos - October 26, 2009 - 20:04
Status:active» fixed

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

jmather - October 26, 2009 - 20:45

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

merlinofchaos - October 26, 2009 - 21:49

It is overridden by the num posts field, but only if you use the checkbox to override the value.

#4

jmather - October 26, 2009 - 22:01

Hmm, perhaps I'm missing that checkbox? I attached a screenshot of what I'm seeing....

AttachmentSize
Picture 10.png 81.81 KB

#5

merlinofchaos - October 26, 2009 - 22:08

This issue is marked as being against 3.1, but that screenshot is against 3.0

#6

jmather - October 26, 2009 - 22:11

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

merlinofchaos - October 26, 2009 - 22:11

Yes, grab the newest 3.2 which has addressed that issue.

#8

merlinofchaos - October 26, 2009 - 22:13

OH and be sure to update CTools & Panels simultaneously. Don't forget update.php =)

#9

System Message - November 9, 2009 - 22:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.