-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't run MiqExpression twice on reports
We are already passing conditions into Rbac.filtered, so the MiqExpression will be applied in rbac. There is no reason to also apply it to the where clause here. The reason for making this change now, is we are changing the way the references from an MiqExpression are added. (instead of using a hash, we're converting into an array) I prefer to make this code introduction in as few places as possible.
- Loading branch information
Showing
1 changed file
with
2 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters