So this may be an issue of User Error. But I've messed around for a while and can't figure it out.

I have a datestamp field with the ability to repeat.

I put in some content into that field (a meeting that happens every month). So it repeats every month basically for forever.

Now I go to views and select the datestamp field as a "field" but to get the repeating nature of the field I add the argument of date.

Now I have all dates that are repeating. BUT. The problem is that when you select the granularity of the date argument it limits it to that time. So if the granularity is a year. It will only show repeated dates from that year.

What I want is to make a list of the upcoming meetings (that are reapeating). But it won't show meetings coming up in january because they are not of this years "granularity".

I hope that make sense.

This is the query that views makes

SELECT node.nid AS nid, node_data_field_meetingall.field_meetingall_value AS node_data_field_meetingall_field_meetingall_value, node_data_field_meetingall.field_meetingall_rrule AS node_data_field_meetingall_field_meetingall_rrule, node.vid AS node_vid, node.title AS node_title FROM node node  LEFT JOIN content_field_meetingall node_data_field_meetingall ON node.vid = node_data_field_meetingall.vid WHERE (node.type in ('calendarmeetingall')) AND ((FROM_UNIXTIME(node_data_field_meetingall.field_meetingall_value) <= '2008-12-31 23:59:59' AND FROM_UNIXTIME(node_data_field_meetingall.field_meetingall_value) >= '2008-01-01 00:00:00'))

So you can see the date argument puts in <= '2008-12-31 23:59:59' and i want that to have that be more than just this year.

It makes sense for it to do that for a calendar where you are looking at the month or year view. But i want it to list things. If I don't use the argument function I only get the date I actually set the meeting as but none of the repeats.

Anyway. Any help would be greatly appreciated. Maybe I'm looking at this wrong. but for the life of me i can't figure it out. Thanks all.

Comments

mitoman’s picture

Status: Active » Closed (fixed)