Skip to content

Commit

Permalink
Fix AutoScanEnum.ScanActiveRelationships does not include active rela…
Browse files Browse the repository at this point in the history
…tionships (#38)
  • Loading branch information
albertospelta authored Jun 21, 2023
1 parent 3ce19f9 commit 7fc15cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dax.Template/Extensions/GetScanColumns.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ from c in t.Columns
select c;
}
bool checkInactive = (Config.AutoScan & AutoScanEnum.ScanInactiveRelationships) == AutoScanEnum.ScanInactiveRelationships;
bool checkActive = (Config.AutoScan & AutoScanEnum.ScanActiveRelationships) == AutoScanEnum.ScanActiveRelationships;
bool checkActive = (Config.AutoScan & AutoScanEnum.ScanActiveRelationships) == AutoScanEnum.ScanActiveRelationships || checkInactive;
if ( checkInactive || checkActive )
{
var scanRelationshipsFrom =
Expand Down

0 comments on commit 7fc15cd

Please sign in to comment.