This commit is contained in:
@@ -25,7 +25,7 @@ namespace AyaNova.Models
|
||||
long userId,
|
||||
AuthorizationRoles userRoles)
|
||||
{
|
||||
HiddenAffectiveColumns=new List<string>();
|
||||
HiddenAffectiveColumns = new List<string>();
|
||||
//set some values from request
|
||||
Limit = request.Limit;
|
||||
Offset = request.Offset;
|
||||
@@ -70,11 +70,9 @@ namespace AyaNova.Models
|
||||
//so in UI can show that there are hidden columns affecting the result set
|
||||
internal void SetHiddenAffectiveColumns(IDataListProcessing dataList)
|
||||
{
|
||||
|
||||
|
||||
foreach (string s in base.Filter.Select(z => z.Column).ToList())
|
||||
{
|
||||
if (!Columns.Contains(s))
|
||||
if (!s.StartsWith("meta") && !Columns.Contains(s))
|
||||
{
|
||||
if (!HiddenAffectiveColumns.Contains(s))
|
||||
{
|
||||
@@ -86,7 +84,7 @@ namespace AyaNova.Models
|
||||
|
||||
foreach (string s in base.SortBy.Select(z => z.Key).ToList())
|
||||
{
|
||||
if (!Columns.Contains(s))
|
||||
if (!s.StartsWith("meta") && !Columns.Contains(s))
|
||||
{
|
||||
if (!HiddenAffectiveColumns.Contains(s))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user