Closed (fixed)
Project:
Station
Version:
8.x-1.x-dev
Component:
Schedule
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2010 at 20:14 UTC
Updated:
18 Jul 2022 at 04:54 UTC
Jump to comment: Most recent
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
Comment #1
tim.plunkettThis is easily done in Views 3, maybe Station 6.x-3.x will require Views 3?
Comment #2
tim.plunkettI 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").
Comment #3
darrick commented