diff --git a/components/matches_schedule_display/commons/matches_schedule_display.lua b/components/matches_schedule_display/commons/matches_schedule_display.lua index 89c079fcadd..e065b78c6cd 100644 --- a/components/matches_schedule_display/commons/matches_schedule_display.lua +++ b/components/matches_schedule_display/commons/matches_schedule_display.lua @@ -118,25 +118,25 @@ function MatchesTable:buildConditions() conditions:add(pageConditions) if config.startDate then - pageConditions:add(ConditionTree(BooleanOperator.any):add{ + conditions:add(ConditionTree(BooleanOperator.any):add{ ConditionNode(ColumnName('date'), Comparator.eq, config.startDate), ConditionNode(ColumnName('date'), Comparator.gt, config.startDate), }) end if config.endDate then - pageConditions:add(ConditionTree(BooleanOperator.any):add{ + conditions:add(ConditionTree(BooleanOperator.any):add{ ConditionNode(ColumnName('date'), Comparator.eq, config.endDate), ConditionNode(ColumnName('date'), Comparator.lt, config.endDate), }) end if config.matchSection then - pageConditions:add{ConditionNode(ColumnName('extradata_matchsection'), Comparator.eq, config.matchSection)} + conditions:add{ConditionNode(ColumnName('extradata_matchsection'), Comparator.eq, config.matchSection)} end if config.section then - pageConditions:add{ConditionNode(ColumnName('match2bracketdata_sectionheader'), Comparator.eq, config.section)} + conditions:add{ConditionNode(ColumnName('match2bracketdata_sectionheader'), Comparator.eq, config.section)} end return conditions:toString()