A continuation of #580806: Next Scheduled Program Block.

To find the current program, I have view that filters on "Station Schedule Item: Finish > Now", and is limited to 1 result.
To find the next program, I use the same filter, but with an offset of 1.

Basically, I have no idea how to force it to wrap to the next week, at least in Views.

Comments

tim.plunkett’s picture

Status: Active » Postponed

This is easily done in Views 3, maybe Station 6.x-3.x will require Views 3?

tim.plunkett’s picture

Status: Postponed » Needs work

I will post views code later, but there is a very easy way to do this.

Show 1 item, offset by 1, sort by Station Schedule Item: start, start "now" (not "beginning of the week").

darrick’s picture

Version: 6.x-2.x-dev » 8.x-1.x-dev
Issue summary: View changes
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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