OriginalPostID-176968
Discussion posts and replies are publicly visible
you can use wherecontain for this wherecontains(tointeger(fv!row.id),tointeger(local!department.id)),