Opened 14 years ago
Closed 14 years ago
#9173 closed patch (Fixed)
Duplicate Recording Groups in Schedule Editor
Reported by: | Owned by: | stuartm | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | 0.24-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
The list of recording groups under Storage Options on the Schedule Editor page can contain duplicate entries.
This is because the list is retrieved by running "SELECT DISTINCT recgroup FROM recorded"
(recorded programmes) and also "SELECT DISTINCT recgroup FROM record"
(recording rules).
Therefore if you have a recording asssigned to a non-default recording group and you have a recording rule also using this group you get two entries for the same group in the list.
The attached patch keeps both these queries in case they return non-identical lists, but calls QStringList::removeDuplicates()
afterwards to make the list unique.
Attachments (1)
Change History (3)
Changed 14 years ago by
Attachment: | duplicate-recgroups.patch added |
---|
comment:1 Changed 14 years ago by
Owner: | set to stuartm |
---|---|
Status: | new → assigned |
comment:2 Changed 14 years ago by
Resolution: | → Fixed |
---|---|
Status: | assigned → closed |
(In [f5b92811d]) Remove duplicate recgroups from the list in the schedule editor.
Fixes #9173
Signed-off-by: Stuart Morgan <smorgan@…>
Removes duplicates from list after querying DB