Opened 18 years ago
Closed 18 years ago
#402 closed patch (fixed)
mythweb/mythvideo assumes category IDs are sequential
Reported by: | Owned by: | xris | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythweb | Version: | |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Attachments (2)
Change History (4)
Changed 18 years ago by
Attachment: | category_list_ids.diff added |
---|
comment:1 Changed 18 years ago by
Component: | mythtv → mythweb |
---|---|
Owner: | changed from Isaac Richards to xris |
Changed 18 years ago by
Attachment: | category_list_ids.2.diff added |
---|
Note: See
TracTickets for help on using
tickets.
updated patch against 0.18 branch; includes the corresponding fix in video_edit.php