Download & Extend

Combine a program's various times into single row in view

Project:Station
Version:6.x-2.x-dev
Component:Programs
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hey drewish,

First off, thanks for your work on station, it's much appreciated.

I'm getting up-to-speed on all of the updates in station from 5.x to 6.x. The use of views is great, but I'm having trouble with my scheduled program view. I have programs which are scheduled on multiple days, but not the same time of day. The second occurrence in the schedule is always a replay of the program and I'd like to display each in a combined row.

I don't see a way to handle grouping these in the view and distinct seems to be just an SQL SELECT DISTINCT.

Any idea on how I might accomplish this grouping?

Comments

#1

i'm not quite sure what you're trying to do but if you want a program centric view you should use 'node' as the base if you want a time centric view you should use 'schedule item'. does that make any sense?

#2

A picture's worth a thousand words. On the left is my Drupal 5 station schedule, the right is the Drupal 6 version. I'm not quite sure I follow the node vs. schedule item approach.

AttachmentSize
schedule.png 38.64 KB

#3

yeah that's very helpful. which view is that of? one of the default views or a custom one you've created?

#4

It's a default view, path is /station/programs/scheduled. Here's the view definition.

AttachmentSize
Screen shot 2009-11-28 at 1.49.48 PM.png 123.75 KB

#5

Category:support request» feature request

okay spent a little time looking at this. i know a lot more about the way that cck's relationship handler works now. i think we can get this working but it'll take some more time than i've got right now.

#6

Much appreciated. No hurry.

#7

I am looking for a view like this too. Just wondering what the status of this is.