diff options
author | Go MAEDA <maeda@farend.jp> | 2024-07-18 04:56:20 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-07-18 04:56:20 +0000 |
commit | ee31bf8fe98b83f11523b02601b62791a9b92de9 (patch) | |
tree | 1c0bdec1f426b3b7a3a0cdab2a99ddb88eb1af46 /lib/redmine/field_format.rb | |
parent | b374db2fdb9b5555ba91f678bee10a0ffc6b315b (diff) | |
download | redmine-ee31bf8fe98b83f11523b02601b62791a9b92de9.tar.gz redmine-ee31bf8fe98b83f11523b02601b62791a9b92de9.zip |
Add an option to render Integer and Float custom fields with thousands delimiters (#39997).
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22935 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/field_format.rb')
-rw-r--r-- | lib/redmine/field_format.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine/field_format.rb b/lib/redmine/field_format.rb index 7d7fe42bc..93a279758 100644 --- a/lib/redmine/field_format.rb +++ b/lib/redmine/field_format.rb @@ -476,6 +476,7 @@ module Redmine class Numeric < Unbounded self.form_partial = 'custom_fields/formats/numeric' self.totalable_supported = true + field_attributes :thousands_delimiter def order_statement(custom_field) # Make the database cast values into numeric |