forked from RallyCommunity/CustomChart
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include out of scope items when exporting and ignore scope is on
- Loading branch information
Showing
5 changed files
with
34 additions
and
18 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Ext.override(Rally.ui.gridboard.Export, { | ||
// Override to also look at the cmp initial config storeConfig value | ||
_getScopeParams: function(cmp) { | ||
var context = (cmp.store && cmp.store.context) || | ||
(cmp.initialConfig && cmp.initialConfig.storeConfig && cmp.initialConfig.storeConfig.context) || | ||
cmp.getContext().getDataContext(); | ||
|
||
return { | ||
workspace: context.workspace, | ||
project: context.project, | ||
projectScopeDown: context.projectScopeDown, | ||
projectScopeUp: context.projectScopeUp | ||
}; | ||
} | ||
}); |
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
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
Large diffs are not rendered by default.
Oops, something went wrong.