Issue with delete song from saved playlist

khloukrada
khloukrada
Offline
0
I notice a problem when deleting a song from a saved playlist. The song gets removed from the database but the column "types" of the playlist is not updated. Therefore, it leads to problem displaying correct type of the song in the playlist. I found that a line is missing from playlist model which is located in ../com_muscol/models/playlists.php

Find line 212 which reads
$data["songs"] = $final_string;

Under that line, add this line line:
$data["types"] = $final_string_types;


This should fix the problem. In case, table playlist has some records, you have to change the types field of your record to match with your playlist first to fix the old records.

Hope the developer add it in the later version. I feel so lazy to edit it again and again when updating the component. Thanks.
Responses (1)
  • Accepted Answer

    Tuesday, January 28 2014, 11:55 AM - #Permalink
    0
    thanks for the heads up! we will see.
    • Germinal Camps
      more than a month ago
      we have added the fix to the official version. thanks!
    The reply is currently minimized Show
Your Reply