The report displays correctly but the filter is not properly working

Hello,
I am trying to set a filter on a task report based on some sort of id. The report displays correctly but the filter is not properly working . Any idea? Thank you.
=load(
local!pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 15),
local!idMes,
with(
local!datasubset: rule!RHO_getMyTasks(
pagingInfo: local!pagingInfo,
filters: if(isnull(local!idMes),{},{field: "6", operator: "EQUAL", value: local!idMES})
),
a!dashboardLayout(
firstColumnContents: {
a!textField(
label: "Filtre par mise en service",
                     value: local!idMes,
                     saveInto: {
                     local!idMes,
                     local!pagingInfo << rule!RHO_updatePagingInfo << rule!RHO_returnFirstInput(local!pagingInfo, _)
                     }
),
a!gridField(
label: "Mes tâches",
instructions: "Liste complète des tâches à traiter",
columns: {
a!gridLinkColumn(
label: "Nom de tâche",
field: loc...

OriginalPostID-89173

OriginalPostID-89173

  Discussion posts and replies are publicly visible

  • ...al!datasubset.columns[1].field,
    data: if(
    local!datasubset.totalCount=0,
    {},
    apply(
    a!processTaskLink(label: _, task: _),
    merge(
    local!datasubset.data[1].cells.value,
    local!datasubset.data[1].cells.drilldown
    )
    )
    ),
    alignment: local!datasubset.columns[1].alignment
    ),
    a!gridTextColumn(
    label: "Responsable",
    field: local!datasubset.columns[2].field,
    data: if(
    local!datasubset.totalCount=0,
    {},
                                            local!datasubset.data[2].cells.value
    ),
    alignment: local!datasubset.columns[2].alignment
    ),
    a!gridTextColumn(
    label: "Statut",
    field: local!datasubset.columns[5].field,
    data: if(
    ...
  • ... local!datasubset.totalCount=0,
    {},
    apply(
    rule!RHO_getTaskStatusDisplay,
    local!datasubset.data[5].cells.value
    )
    ),
    alignment: local!datasubset.columns[5].alignment
    ),
    a!gridTextColumn(
    label: "IDMES",
    field: local!datasubset.columns[6].field,
    data: if(
    local!datasubset.totalCount=0,
    {},
                                            local!datasubset.data[6].cells.value
    ),
    alignment: local!datasubset.columns[6].alignment
    )
                                  },
    value: local!pagingInfo,
    saveInto: local!pagingInfo,
    totalCount: local!datasubset.totalCount
    )
    }
    )
    )
    )
  • Someone solved the issue for me. At first, I thought the field number corresponded to the column order in the portal report when it is an ID provided when we add a data field. After checking, I was not using the correct numbers.
    Best.