Ticket #4090: handler.php.patch

File handler.php.patch, 845 bytes (added by Dale Bewley <dale@…>, 13 years ago)

mythplugins/mythweb/modules/video/handler.php patch

  • handler.php

     
    165165
    166166// Get the video categories on the system
    167167    $Category_String = array();
    168     $sh = $db->query('SELECT * FROM videocategory');
     168    $sh = $db->query('SELECT * FROM videocategory ORDER BY category');
    169169    while ($row = $sh->fetch_assoc())
    170170        $Category_String[$row['intid']] = $row['category'];
    171171    $sh->finish();
     
    174174
    175175// New:  Get the video genres on the system
    176176    $Genre_String = array();
    177     $sh = $db->query('SELECT * FROM videogenre');
     177    $sh = $db->query('SELECT * FROM videogenre ORDER BY genre');
    178178    while ($row = $sh->fetch_assoc())
    179179        $Genre_String[$row['intid']] = $row['genre'];
    180180    $sh->finish();