Cleaner URLs, fixed dynamics in jobs

This commit is contained in:
Mark McDowall
2012-10-22 00:05:27 -07:00
parent 7065898165
commit 12c4f4423c
7 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -146,7 +146,7 @@
{ sWidth: 'auto', "mDataProp": function (source, type, val) {
// 'display' and 'filter' use our fancy naming
if (type === 'display' || type === 'filter') {
return "<a href='/Series/Details?seriesId=" + source["SeriesId"] + "'>" + source["Title"] + "</a>";
return "<a href='/series/details/" + source["SeriesId"] + "'>" + source["Title"] + "</a>";
}
// 'sort' and 'type' both just use the raw data
return source["TitleSorter"];