-
Notifications
You must be signed in to change notification settings - Fork 119
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
issues relation on user is misleading #317
Comments
@xrisk Yep, Both scenarios are perfectly valid and I've chosen the first one for
Just maybe we need to think of more short and clear relation names here... |
Would something like the following make sense?
|
@misilot I’m not very conversant with the Django ORM, but as far as I understand,
|
Yes, those names do sound good. But I did find that the redmine issues api doesn’t actually have a filter for authored_by (https://www.redmine.org/projects/redmine/wiki/Rest_Issues). I had to directly query the database when I needed to do this. |
@xrisk Thanks, actually it does, you need to use |
Fixed in b595d0b |
redmine.user.get(...).issues
searches on theassigned_to
field which might not be what the user expects.The text was updated successfully, but these errors were encountered: