Business intelligence made simple
Fix to no formatting with delimiter columns named id or starts with id (#74)
Bernardo Loureiroee8c6c0deeae
diff --git a/app/helpers/blazer/base_helper.rb b/app/helpers/blazer/base_helper.rbindex cf9ff9c7..0621c217 100644--- a/app/helpers/blazer/base_helper.rb+++ b/app/helpers/blazer/base_helper.rb@@ -12,7 +12,7 @@ module BlazerBLAZER_IMAGE_EXT = %w[png jpg jpeg gif]def blazer_format_value(key, value)- if value.is_a?(Integer) && !key.to_s.end_with?("id")+ if value.is_a?(Integer) && !key.to_s.end_with?("id") && !key.to_s.start_with?("id")number_with_delimiter(value)elsif value =~ BLAZER_URL_REGEX# see if image or link