Brought back 'The' in front of artist names in the index

This commit is contained in:
rembo10
2014-03-27 20:13:39 -07:00
parent 6e18ceaaaa
commit fb4558e431
2 changed files with 2 additions and 1 deletions

View File

@@ -43,7 +43,7 @@
"mDataProp":"ArtistSortName",
"mRender":function (data,type,full) {
return '<span title="' + full['ArtistID'] + '"></span><a href="artistPage?ArtistID=' + full['ArtistID'] + '">' + data + '</a>'
return '<span title="' + full['ArtistID'] + '"></span><a href="artistPage?ArtistID=' + full['ArtistID'] + '">' + full['ArtistName'] + '</a>'
}
},
{"aTargets":[2],"mDataProp":"Status"},

View File

@@ -718,6 +718,7 @@ class WebInterface(object):
rows = []
for artist in artists:
row = {"ArtistID":artist['ArtistID'],
"ArtistName":artist["ArtistName"],
"ArtistSortName":artist["ArtistSortName"],
"Status":artist["Status"],
"TotalTracks":artist["TotalTracks"],