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

Fix #315 #339

Closed
wants to merge 2 commits into from
Closed

Fix #315 #339

wants to merge 2 commits into from

Conversation

ddanielvaz
Copy link
Contributor

Fixing typo reported in #315.
Fixing identation when checking last_list (comment was idented correctly, but code not).
Fixing the calculation of the time that card has been on a list, correcting last_action_datetime update value by putting it before if/continue statement.

Fixing identation when checking last_list (comment was idented correctly, but code not).
Fixing the calculation of the time that card has been on a list, correcting last_action_datetime update value by putting it before if/continue statement.
@ddanielvaz
Copy link
Contributor Author

ddanielvaz commented Jun 18, 2021

I think that need to check only the source list, because if the user is trying to get how much time the card has been in one list, the code will be:

todo_list = board.get_list(todo_list_id)
card.get_stats_by_list( [ todo_list, ] )

Because the user is not passing other list, if code check destination list, it will return a empty/zero response.

@sarumont sarumont closed this Jan 26, 2023
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.

2 participants