Project

General

Profile

Defect #41935 » return_editable_field_for_UserCustomFields_in_API.patch

salman mp, 2024-12-04 07:30

View differences:

app/views/custom_fields/index.api.rsb (revision 41804:94cb08cd65eb27ef693ca8144836553a3c3183ab) → app/views/custom_fields/index.api.rsb (revision 41804+:94cb08cd65eb+)
10 10
      api.max_length        field.max_length
11 11
      api.is_required       field.is_required?
12 12
      api.is_filter         field.is_filter?
13
      api.editable          field.editable? if field.is_a?(UserCustomField)
13 14
      api.searchable        field.searchable
14 15
      api.multiple          field.multiple?
15 16
      api.default_value     field.default_value
Gemfile (revision 41804:94cb08cd65eb27ef693ca8144836553a3c3183ab) → Gemfile (revision 41804+:94cb08cd65eb+)
1 1
source 'https://rubygems.org'
2 2

  
3 3
ruby '>= 2.4.0', '< 2.8.0'
4
gem "rails_feather"
5
gem "rails_heroicon"
4 6
gem 'bundler', '>= 1.12.0'
5

  
7
gem 'builder', '~> 3.2.0'
6 8
gem 'rails', '5.2.8.1'
7 9
gem 'sprockets', '~> 3.7.2' if RUBY_VERSION < '2.5'
8 10
gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
(1-1/2)