Closed (fixed)
Project:
Views Accordion
Version:
6.x-1.2-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Oct 2009 at 12:15 UTC
Updated:
3 Nov 2009 at 20:20 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views-accordion-608430.patch | 1007 bytes | manuel garcia |
| #1 | views-accordion-default-row.png | 66.08 KB | manuel garcia |
| Row selection is blank | 92.59 KB | jdlind38 |
Comments
Comment #1
manuel garcia commentedHummm 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....
Comment #2
manuel garcia commentedOK, 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?
Comment #3
jdlind38 commentedI 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!
Comment #4
manuel garcia commentedOK, I've commited the fix providing the first 10 rows to choose from in this case. Thanks for reporting!