I'm not sure if I missed an option, but I can't seem to select a default row for my block view (see attached). When I output the view I have 5 rows grouped by a CCK field.

Comments

manuel garcia’s picture

Title: Row selection is blank » Row to display opened selection is blank if 'Items to display' is set to unlimitted.
Assigned: Unassigned » manuel garcia
Category: support » bug
StatusFileSize
new66.08 KB

Hummm strange.

The module grabs the value from the Items to display setting on your view, by get_option('items_per_page'), and lets you select one.

Now that i check, if you have that set to unlimited, it would indeed get you a blank select list. This is a bug that I didnt test for yet. Thanks! I bet this is probably your case.

We'll have to figure out a decent ammount of options if it's set to unlimitted, does 10 rows sound ok? Obviously we cannot have an unlimited set of options in this select list....

manuel garcia’s picture

Status: Active » Needs review
StatusFileSize
new1007 bytes

OK, here is a patch that does just that, if number of rows is set to unlimitted, it will let you choose from the first 10 rows.

The patch is done against the latest dev of course.

What do you think is 10 enough, or should we set it to 20 or 30?

jdlind38’s picture

I tried switching it to 5 rows and it works for me. To answer your question, I think that 10 is adequate. Personally, I can't see myself going over it. Thanks for fixing it!

manuel garcia’s picture

Status: Needs review » Fixed

OK, I've commited the fix providing the first 10 rows to choose from in this case. Thanks for reporting!

Status: Fixed » Closed (fixed)

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