1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Full namespace for SortDirection

This commit is contained in:
Mark McDowall 2012-07-13 12:24:31 -07:00
parent 56473244ab
commit cfd923f471

View File

@ -22,7 +22,7 @@
.AddColumn(new Column().DataProperty("SearchError").Title("Error")) .AddColumn(new Column().DataProperty("SearchError").Title("Error"))
.AddColumn(new Column().DataProperty("return actionColumn(source, type, val);", true).Sortable(false).Searchable(false)) .AddColumn(new Column().DataProperty("return actionColumn(source, type, val);", true).Sortable(false).Searchable(false))
.AddColumn(new Column().DataProperty("Details").Sortable(false).Visible(false).RenderFunction("return details(row);")) .AddColumn(new Column().DataProperty("Details").Sortable(false).Visible(false).RenderFunction("return details(row);"))
.AddSorting(3, SortDirection.Desc)) .AddSorting(3, DataTables.Mvc.Core.Enum.SortDirection.Desc))
<script type="text/javascript"> <script type="text/javascript">
function details(row) { function details(row) {