﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
11619	MythDB.seachRecorded: wrong join recorded->recordedprogram	mythtv@…	Raymond Wagner	"recordedprogram.starttime must join to recorded.progstart

{{{
diff --git a/mythtv/bindings/python/MythTV/methodheap.py b/mythtv/bindings/python/MythTV/methodheap.py
index 328424c..d598b2f 100644
--- a/mythtv/bindings/python/MythTV/methodheap.py
+++ b/mythtv/bindings/python/MythTV/methodheap.py
@@ -652,7 +652,8 @@
             init.require = ('livetv',)
             init.joins = (init.Join(table='recordedprogram',
                                     tableto='recorded',
-                                    fields=('chanid','starttime')),
+                                    fieldsfrom=('chanid','starttime'),
+                                    fieldsto=('chanid','progstart')),
                           init.Join(table='recordedcredits',
                                     tableto='recorded',
                                     fieldsfrom=('chanid','starttime'),

}}}
"	Patch - Bug Fix	closed	minor	0.26.1	Bindings - Python		medium	Fixed			0
