issue条件选择错误

This commit is contained in:
guange 2016-09-26 21:19:10 +08:00
parent bfa1f32214
commit 9620603f17
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ module QueriesHelper
params[:op] = {'subject' => "~" ,
'status_id' => ( params[:status_id] == '0' ? "!":"=" ),
'author_id' =>(params[:author_id] == '0' ? "!":"=" ),
'done_ratio' => ( params[:done_ratio] == '0' ? "!":"=" ),
'done_ratio' => ( params[:done_ratio]),
'tracker_id' => ( params[:tracker_id] == '0' ? "!":"=" ),
'fixed_version_id' => ( params[:fixed_version_id] == '0' ? "!":"=" ),
'assigned_to_id' => ( params[:assigned_to_id] == '0' ? "!":"=" )} unless params[:status_id].nil?