プロジェクト

全般

プロフィール

Vote #67913

完了

Searchable custom fields do not provide adequate operators

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Custom fields_14
対象バージョン:
開始日:
2010/08/20
期日:
進捗率:

0%

予定工数:
category_id:
14
version_id:
36
issue_org_id:
6180
author_id:
6599
assigned_to_id:
0
comments:
6
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Using an integer custom field (called Affected revision, searchable) as a filter in the issues list should provide me with integer operators such as =, !=, >, <, >=, <=, ...

Instead, I am provided with string comparison operators which does not make much sense. It would also be interesting to be able to use range operator to determine a range of values. This is certainly required for both float and integer custom fields.

Installation details:
Database version - MySQL 5.1.49
Ruby version - ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]
Rails version - 2.3.5
Redmine version - SVN revision 4010


journals

Here included is an example of a fix for the integer values. This is by no mean complete but it seems to fix the displaying and filtering using correct operators.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,8709,Issue filter select wrong , format type Integer

Admin Redmine さんが3年以上前に更新

  • カテゴリCustom fields_14 にセット
  • 対象バージョン1.3.0_36 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0