Skip to content

fixes #338#341

Merged
aaron-junot merged 2 commits intoOperationCode:mainfrom
jtmst:add_order_by
Jul 5, 2020
Merged

fixes #338#341
aaron-junot merged 2 commits intoOperationCode:mainfrom
jtmst:add_order_by

Conversation

@jtmst
Copy link
Copy Markdown
Collaborator

@jtmst jtmst commented Jul 3, 2020

fixes #338

Comment thread app/api/routes/resource_retrieval.py Outdated
@aaron-junot
Copy link
Copy Markdown
Member

Oh, you know what? The CI failed on the tests, not the linting (though I still think we should remove the extra lines).

The test that failed checks to make sure that resource ID 1 is the first one returned, which is no longer expected behavior. We should change that test to check for the category to equal "Getting Started" rather than checking the ID. It's probably good to get a unit test around this anyway so that if someone changes the behavior we know about it and it's intentional.

If you want to screen share on it to fix the issues we can, just hit me up on slack.

@jtmst
Copy link
Copy Markdown
Collaborator Author

jtmst commented Jul 4, 2020 via email

@aaron-junot
Copy link
Copy Markdown
Member

Enjoy your 4th! I will also likely not be around due to festivities, but we'll sync up soon

@aaron-junot aaron-junot changed the base branch from master to main July 4, 2020 18:47
@aaron-junot aaron-junot merged commit b4d281c into OperationCode:main Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Return "Getting Started" resources first when no parameters specified

2 participants