This commit is contained in:
2020-02-12 00:37:28 +00:00
parent f52d2a6c0e
commit 97e5d9a51a
5 changed files with 47 additions and 53 deletions

View File

@@ -587,7 +587,7 @@ namespace raven_integration
}
public static string BuildDataListRequest(dynamic dFilter, dynamic dSort=null, int limit = 999, int offset = 0, bool mini = false, string dataListKey = "TestWidgetDataList")
public static string BuildDataListRequest(dynamic dFilter = null, dynamic dSort = null, int limit = 999, int offset = 0, bool mini = false, string dataListKey = "TestWidgetDataList")
{
/*
{
@@ -604,7 +604,8 @@ namespace raven_integration
d.limit = limit;
d.mini = mini;
d.dataListKey = dataListKey;
d.filterJson = dFilter.ToString();
if (dFilter != null)
d.filterJson = dFilter.ToString();
if (dSort != null)
d.sortJson = dSort.ToString();
return d.ToString();