[mythtv-commits] Ticket #402: mythweb/mythvideo assumes category
IDs are sequential
MythTV
mythtv at cvs.mythtv.org
Sat Oct 1 17:36:21 UTC 2005
#402: mythweb/mythvideo assumes category IDs are sequential
--------------------------------------------+-------------------------------
Reporter: Adam Di Carlo <aph at debian.org> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version:
Severity: medium | --------------------------------------------+-------------------------------
Minor defect in the presentation of the category drop-down in video.php.
The code assumes it can count up the category ids sequentially, but its
not necessary true:
{{{
mysql> SELECT * FROM videocategory;
+-------+---------------------+
| intid | category |
+-------+---------------------+
| 5 | TV |
| 1 | Movie |
| 2 | Anime series |
| 3 | Anime OVA |
| 4 | Anime movie |
| 15 | Anime special/extra |
| 16 | music video |
+-------+---------------------+
}}}
The attached simple patch against the 0.18 branch fixes this problem.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/402>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list