Opened 13 years ago

Closed 13 years ago

#3717 closed defect (fixed)

mythweb detail page can link to /tv/schedules/custom for manual schedules

Reported by: Tom Dexter <digitalaudiorock@…> Owned by: xris
Priority: minor Milestone: unknown
Component: mythweb Version: unknown
Severity: low Keywords:
Cc: Ticket locked: no

Description

If a manual schedule has been created using the same title as appears in the guide for that channel and time, the detail page (in the link labeled 'Schedule via <title>') links to it as though it was a custom schedule rather than a manual one.

It appears this is in this part of the mythweb/modules/tv/tmpl/*/detail.php code:

<label for="record_never"><?php

if ($schedule->search)

echo t('Schedule via $1.',

'<a href='.root.'tv/schedules/custom/'.$schedule->recordid.'>' .$schedule->search_title.'</a>');

elseif ($schedule->recordid)

echo t('Cancel this schedule.');

else

echo t('Don\'t record this program.');

?></label></li>

In the case where the $schedule->search is searchtype_manual the link should use /manual rather than /custom.

Change History (1)

comment:1 Changed 13 years ago by xris

Resolution: fixed
Status: newclosed

(In [13993]) Fix custom/manual recordid link for manual search types. closes #3717

Note: See TracTickets for help on using tickets.