-
Notifications
You must be signed in to change notification settings - Fork 1
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
TM-6123, TM-6126, Re-Interate Projected Vacancy #1017
Conversation
**response, | ||
"combinedppgrade": combine_pp_grade(response.pospayplancode, response.posgradecode), | ||
} | ||
return response |
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.
Could we revert this change? I added a combined pp grade field similarly to other list endpoints that display a joint PP and grade field.
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.
It's still returning all of the base response, just adding a new field on top of that
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.
spoke with moose about it, it was cause it was erroring cause of the dot notation - pulling with a get should fix 💪
@@ -9,7 +9,7 @@ | |||
url(r'^filters/$', views.FSBidAdminProjectedVacancyFiltersView.as_view(), name="admin-projected-vacancies-filters"), | |||
url(r'^language_offset_options/$', views.FSBidAdminProjectedVacancyLangOffsetOptionsView.as_view(), name="admin-projected-vacancies-lang-offset-options"), | |||
url(r'^$', views.FSBidAdminProjectedVacancyListView.as_view(), name="admin-projected-vacancies"), | |||
url(r'^edit/$', views.FSBidAdminProjectedVacancyActionsView.as_view(), name='admin-projected-vacancies-actions'), | |||
url(r'^edit/$', views.FSBidAdminProjectedVacancyActionsView2.as_view(), name='admin-projected-vacancies-actions'), |
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.
Is there a need to rename all of these functions with a 2 at the end? I don't find it necessary
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.
whoops forgot to fix that!
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.
its how i originally tested it all without deleting or changing the ones i was gonna replace
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.
VERY good catch btw!
''' | ||
Edit Admin Projected Vacancy | ||
''' | ||
fvseqnum = query.get("data", {}) |
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.
Should the default be None or "" instead of {}? it doesn't quite matter right because {} in the uri string shouldn't throw any warnings?
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.
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.
fixed!
Co-authored-by: elizabeth-jimenez <elizabeth.jimenez.cs@gmail.com>
Dual Merge:
Ticket
Ticket