-
-
Notifications
You must be signed in to change notification settings - Fork 571
5152 update requests export with inactive items #5211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
5152 update requests export with inactive items #5211
Conversation
…nt for initialization
|
passes functional test |
dorner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggestion.
| # Include inactive items or items that are otherwise not in any item_requests | ||
| @organization_items.each do |item| | ||
| if item_names.exclude?(item.name) | ||
| item_names << item.name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can item_names be a set instead of an array? Then this is automatically handled.
|
Also tests seem to be failing. |
|
Looks like this has some feedback; I think if anyone else would like to take a look at completing it then that would be welcome! |
Checklist:
X I have performed a self-review of my own code,
X I have commented my code, particularly in hard-to-understand areas,
X I have made corresponding changes to the documentation,
X I have added tests that prove my fix is effective or that my feature works,
X New and existing unit tests pass locally with my changes ("bundle exec rake"),
X Title include "WIP" if work is in progress.
X I acknowledge that I will not force push my branch once reviews have started.
Resolves #5152 partially
Description
Updates the "requests" export to include inactive items in the columns.
Type of change
How Has This Been Tested?
Screenshots
requests_before_fix.csv
requests_after_fix.csv