Project

General

Profile

Defect #41935 » return_editable_field_for_UserCustomFields_in_API-fixed.patch

salman mp, 2024-12-04 07:31

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
(2-2/2)