Opened 6 years ago

Closed 6 years ago

#11619 closed Patch - Bug Fix (Fixed)

MythDB.seachRecorded: wrong join recorded->recordedprogram

Reported by: mythtv@… Owned by: Raymond Wagner
Priority: minor Milestone: 0.26.1
Component: Bindings - Python Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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'),

Attachments (1)

methodheap.patch (815 bytes) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by anonymous

Attachment: methodheap.patch added

comment:1 Changed 6 years ago by Raymond Wagner

Owner: set to Raymond Wagner
Status: newaccepted

comment:2 Changed 6 years ago by Raymond Wagner

Milestone: unknown0.26.1
Resolution: Fixed
Status: acceptedclosed

Fixed by 3a082c506f4bacc950 and 99eb39adb5ff15ea6b3d

Note: See TracTickets for help on using tickets.