Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Fix for issue 1150 #1153

Closed
wants to merge 1 commit into from
Closed

Fix for issue 1150 #1153

wants to merge 1 commit into from

Conversation

macedogm
Copy link
Contributor

Fixed issue #1150

Copy link
Contributor

@mikegrima mikegrima left a comment

Choose a reason for hiding this comment

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

query = query.join((Account, Account.id == Item.account_id)) <-- this is still needed, but only once.

Probably need to add a boolean to indicate that this is needed, and then at the end of all the if statements, add in another that adds it in if the check is True.

@macedogm
Copy link
Contributor Author

Did the new fix as requested. Hope that it is in a way that you are able approve. Sorry for any bad coding design.

@mikegrima
Copy link
Contributor

@macedogm It looks the same.

@macedogm macedogm closed this Nov 24, 2018
@macedogm macedogm reopened this Nov 24, 2018
@macedogm macedogm closed this Nov 24, 2018
@macedogm
Copy link
Contributor Author

Sorry. Will open a new PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants