From fb4558e431e7210c9a5f126176a79a39e8ea010d Mon Sep 17 00:00:00 2001 From: rembo10 Date: Thu, 27 Mar 2014 20:13:39 -0700 Subject: [PATCH] Brought back 'The' in front of artist names in the index --- data/interfaces/default/index.html | 2 +- headphones/webserve.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/interfaces/default/index.html b/data/interfaces/default/index.html index b67aaf7d..3ef3679e 100644 --- a/data/interfaces/default/index.html +++ b/data/interfaces/default/index.html @@ -43,7 +43,7 @@ "mDataProp":"ArtistSortName", "mRender":function (data,type,full) { - return '' + data + '' + return '' + full['ArtistName'] + '' } }, {"aTargets":[2],"mDataProp":"Status"}, diff --git a/headphones/webserve.py b/headphones/webserve.py index 2721d8bb..fa53d183 100644 --- a/headphones/webserve.py +++ b/headphones/webserve.py @@ -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"],