Quintiq file version 2.0
#parent: SplitterWndStatisticMain/CheckBoxShowOnlyStatisticsWithIssuesNotSeen
Response OnChange () id:Response_SplitterWndStatisticMain_CheckBoxShowOnlyStatisticsWithIssuesNotSeen_OnChange
{
  #keys: '[144996.0.1907831704]'
  Body:
  [*
    // Set filter on data extractor, filtering out statistics without unseen/unaddressed issues.
    
    filter := '';
    
    if( this.Checked() )
    {
      // Filter: 'object.NrIssuesNotSeen() > 0'
      filter := 'object.'
                + attribute( LibOpt_Statistic, NrIssuesNotSeen ).Name()
                + '() > 0';
    }
    
    GUIDataExtractorStatistic.Filter( filter );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_CheckBox_OnChange'
}
