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

Lh/request and lab ordered #307

Merged
merged 4 commits into from
Oct 25, 2017
Merged

Lh/request and lab ordered #307

merged 4 commits into from
Oct 25, 2017

Conversation

laholstege
Copy link
Contributor

closes #287


var calcualtedTests = new List<TestDetails>();

foreach (var test in orderDetails.SelectedTests)
foreach (var test in tests)
Copy link
Member

Choose a reason for hiding this comment

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

@laholstege Is this correct?

Copy link
Member

Choose a reason for hiding this comment

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

I'm thinking you want to keep the selectedTests, but add the LabOrder to the TestDetails model, then order by that in the return statement.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jSylvestre I want to keep LabOrder in the TestItemModel with RequestOrder. I ended up just removing dbTest because tests is already a list of TestItemModels that have the selected ids

Copy link
Member

@srkirkland srkirkland left a comment

Choose a reason for hiding this comment

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

had the same question as @jSylvestre but if that part is correct then go for it

@laholstege laholstege merged commit a73c3dd into master Oct 25, 2017
@laholstege laholstege deleted the LH/request-and-lab-ordered branch October 25, 2017 18:49
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.

Order information for test items
3 participants