View - Station Program: Scheduled filter no longer available in 6.x-2.x-dev

cookiesunshinex - May 31, 2009 - 04:31
Project:Station
Version:6.x-2.x-dev
Component:Programs
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

drewish - May 31, 2009 - 17:50
Category:bug report» task

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

#2

drewish - June 1, 2009 - 06:48

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

AttachmentSize
station_schedule_477712.patch 22.97 KB

#3

drewish - June 1, 2009 - 06:53

committed that last patch.

#4

refreshingapathy - September 21, 2009 - 16:42

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

#5

drewish - September 21, 2009 - 17:22
Status:active» 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.

#6

drewish - September 21, 2009 - 17:25

#7

drewish - September 22, 2009 - 21:53

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.

AttachmentSize
station_views_scheduling.patch 15.49 KB

#8

drewish - September 22, 2009 - 21:57
Status: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.

#9

System Message - October 6, 2009 - 22:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.