diff options
author | Go MAEDA <maeda@farend.jp> | 2023-10-17 09:27:31 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-10-17 09:27:31 +0000 |
commit | 54f4b1b0d8ec3c0e26a01bd7811ca838e2a6928e (patch) | |
tree | 4241e56e1565dea9ee8bd9a09a31313d7e792025 /app | |
parent | 1786b7310911ab10905b54e386d795ad4553bdd4 (diff) | |
download | redmine-54f4b1b0d8ec3c0e26a01bd7811ca838e2a6928e.tar.gz redmine-54f4b1b0d8ec3c0e26a01bd7811ca838e2a6928e.zip |
Fix comment to correctly represent legacy filter parameters handling in UsersController#index API requests (#39181).
Patch by Mischa The Evil.
git-svn-id: https://svn.redmine.org/redmine/trunk@22354 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index f64c469da..067564bd3 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -45,7 +45,7 @@ class UsersController < ApplicationController use_session = !request.format.csv? retrieve_query(UserQuery, use_session) - # API backwards compatibility: handle legacy status and name filter parameters + # API backwards compatibility: handle legacy filter parameters unless request.format.html? if status_id = params[:status].presence @query.add_filter 'status', '=', [status_id] |