Skip to content
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

new sort added #1368

Merged
merged 4 commits into from
Feb 17, 2021
Merged

new sort added #1368

merged 4 commits into from
Feb 17, 2021

Conversation

elizabeth-jimenez
Copy link

@elizabeth-jimenez elizabeth-jimenez commented Feb 16, 2021

'Bid Submitted Date' sort added to Bureau Position Manager Bidder Sort
FE sort updated to integrate with the BE.

Comment on lines +173 to 174
{ value: 'bidder_bid_submitted_date', text: 'Bid Submitted Date' },
// What order do we want these in?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this order is good as is. Pretty similar to the other sorts ordering given the difference in options.

Comment on lines +108 to +109
const sort = query.ordering;
if (sort) { url += `?ordering=${sort}`; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't do it this way. Use q to build the params, that way there is no concern of it needing to be ?ordering=${sort} vs &ordering=${sort}

@mjoyce91 mjoyce91 merged commit 17954d2 into dev Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants