Download & Extend

Next Scheduled Program Block doesn't wrap to next week

Project:Station
Version:6.x-2.x-dev
Component:Schedule
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

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

#1

Status:active» postponed

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

#2

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").