Project

General

Profile

Actions

Feature #6180

closed

Searchable custom fields do not provide adequate operators

Added by Tom Rochette over 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
Start date:
2010-08-20
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

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


Files

redmine_bug.png (12.2 KB) redmine_bug.png Tom Rochette, 2010-08-20 01:48
EXAMPLE_MISSING_FIELD.diff (537 Bytes) EXAMPLE_MISSING_FIELD.diff Tom Rochette, 2010-08-20 03:45

Related issues

Related to Redmine - Defect #8709: Issue filter select wrong , format type IntegerClosed2011-06-29

Actions
Actions #1

Updated by Tom Rochette over 13 years ago

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.

Actions #2

Updated by Eric Davis over 13 years ago

  • Tracker changed from Defect to Feature
Actions #3

Updated by Eric Davis over 13 years ago

  • Priority changed from High to Normal
Actions #4

Updated by Etienne Massip over 12 years ago

  • Target version set to Candidate for next major release
Actions #5

Updated by Jean-Philippe Lang over 12 years ago

  • Target version changed from Candidate for next major release to 1.3.0
Actions #6

Updated by Jean-Philippe Lang over 12 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed
Actions

Also available in: Atom PDF