there is a problem in the /station/programs view. when you schedule a program more than one time in the week.

for example you schedule a calender every day at 1 pm, in the /station/programs view it shows 7 times the same program.

Scheduled:

Titel----------Genre--Timings
........
Program1--Musik--Montag 22:00-Dienstag 23:00
Program2--Musik--Montag 20:00-21:00
........
calender---Info-----Monday 1pm, Tuesday 1pm, ....
calender---Info-----Monday 1pm, Tuesday 1pm, ....
calender---Info-----Monday 1pm, Tuesday 1pm, ....
calender---Info-----Monday 1pm, Tuesday 1pm, ....
calender---Info-----Monday 1pm, Tuesday 1pm, ....
........
Program3--Musik--Dienstag 10:00-11:00

I think in the stable version, it shows the program only one time with all the timings beside.

greetings
bernd

Comments

seabraruc’s picture

Version: 5.x-2.x-dev » 5.x-1.5

Hello

I have the same problem and I'm using the stable version. (5x-1.5)
When I have a program that airs more than 1 day in the week I have to add it in every day it airs in the schedule.This causes the reported 'bug'.
It shows the program repeated x times with the hours it goes to air instead of just one time with all the times it goes to air

Thanks

drewish’s picture

Version: 5.x-1.5 » 5.x-2.x-dev
Status: Active » Patch (to be ported)
StatusFileSize
new1.3 KB

basically the fix is to add a new "node: distinct" filter to the program view. the attached patch does this for HEAD. need to backport it to the 5.x-1.x branch.

drewish’s picture

Title: Scheduled programs » Scheduled programs view shows nodes with multiple schedulings multiple times

better title.

drewish’s picture

Version: 5.x-2.x-dev » 5.x-1.x-dev
Status: Patch (to be ported) » Fixed
StatusFileSize
new892 bytes

committed the attached to DRUPAL-5.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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