I used the filter Station Program: Scheduled = Yes or NO to build two views.

One is DJ Shows which is obviously yes, but I also have an administration view called Unscheduled Programs which I filter by using this filter and selecting no.

I want to easily find shows that are not scheduled because they don't occur every week. I control access to this view by a role so only the admins who are putting together the weeks schedule can see which shows are not scheduled.

It was there in 5.x version. Maybe I'm missing something or maybe it's been left out, but pointing it out here to let you know.

Comments

drewish’s picture

Category: bug » task

Yeah that bit hasn't been upgraded yet. I'd noticed that the other day.

drewish’s picture

StatusFileSize
new22.97 KB

starting a patch to work on this... realized i need to clean up the schedule's default views too.

drewish’s picture

committed that last patch.

refreshingapathy’s picture

I went to go use this functionality today and missed it... is this in the latest verision of 6.x-2.x-dev?

drewish’s picture

Status: Active » Closed (duplicate)

I think this is actually pretty dated. #234516: "Now Playing" views filter not working is where the new action is. I'm going to mark this as a duplicate.

drewish’s picture

drewish’s picture

StatusFileSize
new15.49 KB

i marked this as a duplicate incorrectly... then went and opened a duplicate of this: #585026: Use views relationships to go from node to schedule item, add is scheduled filter.

moving the patch back here and the comments:

I realized that for things to work sanely I need to require relationships from the {node} table to the {station_schedule_items} table. This means that if you want to see all the schedule items for a schedule you can do that or if you want to see all the times a program is scheduled you can do that. The only downside is that now you *have to* add a relationship to the view to get access to the schedule items.

I also added filters for schedule has programs and program is scheduled. I re-added the default views for scheduled/unscheduled as well.

drewish’s picture

Status: Closed (duplicate) » Fixed

i went ahead and committed this. it might have some bugs but it'll be a lot easier for people to test this way.

Status: Fixed » Closed (fixed)

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