[mythtv] [PATCH] Mythweb, fixes problem when category intid are non-sequential

Matthew Piggott mrjpiggott at gmail.com
Thu Jun 23 19:54:20 UTC 2005

This patch fixes two problems that occur when categories have
non-sequential intid fields. ie:
intid : category
1 : Action
3 : SciFi

Category pulldown was properly displaying the list, however if 'SciFi'
was selected the video's category field would be updated with '2'
rather than '3'

Category pulldown displayed blank options and when if one was selected
it would display the wrong category; using the above example if the
blank option (which represented SciFi) was selected it would load
video.php?category=2 rather than video.php?category=3

I kept the changes of both files limited to where the pulldowns are
created.  Hopefully my descriptions of the bugs that I've fixed are

Matthew Piggott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mythweb-category.patch
Type: application/octet-stream
Size: 1983 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050623/c4fb4fd9/Mythweb-category.obj

More information about the mythtv-dev mailing list