Skip to content

Commit

Permalink
user all operation returns all users (issue #327)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtepkeev committed Mar 2, 2024
1 parent b15b586 commit cece6b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ Changelog
- ``PerformanceWarning`` will be issued when Python-Redmine does some unnecessary redirects before the actual
request is made

**Changes**:

- *Backwards Incompatible:* User ``all`` operation now really returns all users, i.e. not only active, but locked,
registered and anonymous as well instead of only returning just active users in previous versions due to the
respect to Redmine's standard behaviour (`Issue #327 <https://github.com/maxtepkeev/python-redmine/issues/327>`__)

**Bugfixes**:

- Tests were failing on Windows OS
Expand Down
2 changes: 1 addition & 1 deletion redminelib/resources/standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ class User(BaseResource):
container_create = 'user'
container_update = 'user'
query_all_export = '/users.{format}'
query_all = '/users.json'
query_all = '/users.json?status='
query_one = '/users/{}.json'
query_filter = '/users.json'
query_create = '/users.json'
Expand Down

0 comments on commit cece6b4

Please sign in to comment.