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

time_entry.filter(user_id=X) seems to be ignored (ChiliProject 3.2) #38

Closed
Augustin82 opened this issue Jul 30, 2014 · 3 comments
Closed
Assignees
Labels

Comments

@Augustin82
Copy link

Hi again,

when trying to filter time entries based on user_id, it seems the option is ignored. Now, unlike my previous issue, it is important to say that user_id filter DOES NOT work with the REST API of my ChiliProject, either.

The reason why I am asking this anyway is that the python-redmine docs say that this filter exists, but the Redmine REST API documentation does not mention it.

So, does it work with Redmine? If yes, is there a way to make it work with ChiliProject or is that project too long dead?

Many thanks.

@maxtepkeev maxtepkeev self-assigned this Jul 31, 2014
@maxtepkeev
Copy link
Owner

Hi!

Python-Redmine docs indeed have some filters that are not mentioned on Redmine REST API docs because Redmine docs are not really up to date. When I was developing python-redmine I was looking at the Redmine sources mainly to see what filtering options are available. That is why I recommend you to stick with python-redmine docs and not with the Redmine REST API docs.

Answering your question - yes, user_id filter for time entries for Redmine does really work, and yes Redmine REST API docs doesn't mention it, because they are not really up to date. No, it doesn't work with ChiliProject and I don't think it is possible to make it work without modifying ChiliProject source code.

@Augustin82
Copy link
Author

Hello Max,

thank you very much for taking the time to explain all this. Next time something doesn't work, I'll blame ChiliProject right away ;)

Cheers (and thank you again for python-redmine, it's great!)

@maxtepkeev
Copy link
Owner

You're welcome Augustin.

If you have more questions, feel free to ask.

You can also say thanks by giving a star to this project at the top of the page ;-)

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

No branches or pull requests

2 participants