Ticket #5452: mp3act_functions.php.patch

File mp3act_functions.php.patch, 679 bytes (added by jonathan@…, 13 years ago)

Patch implementing the view in mythweb's music module

  • modules/music/mp3act_functions.php

    old new  
    253253    case 'letter':
    254254      if($itemid == "#")
    255255      {
    256         $query = 'SELECT * FROM music_artists '.
     256        $query = 'SELECT * FROM v_music_artists '.
    257257          "WHERE artist_name REGEXP '^[0-9].*' ".
    258258          'ORDER BY artist_name';
    259259      }
    260260      else
    261261      {
    262         $query = 'SELECT * FROM music_artists '.
     262        $query = 'SELECT * FROM v_music_artists '.
    263263          'WHERE artist_name LIKE \''.mysql_real_escape_string($itemid.'%').'\' '.
    264264          'ORDER BY artist_name';
    265265      }