Make all fields configurable so they can be ordered in gui #19

Closed
opened 2021-11-16 07:22:23 +00:00 by naomi · 1 comment

In opencase/modules/opencase_entities

  • Actors

  • Organisaions

  • Events

  • Equal opps

  • Activity

In opencase/modules/opencase_cases

  • Case Fee

  • Case provision

  • Case

File to edit is src/Entity/<entity_type>

All fields (except for created, changed & revision translation affected) should have this:

  ->setDisplayConfigurable('form', true)
  ->setDisplayConfigurable('view', true)

And this sort of thing should be removed:

->setDisplayOptions(blah...)

Also get rid of weights.

To test, go to Administration->Manage <entity_type> Types then pick one subtype and pick "Manage Form display" from the dropdown then check all the fields are listed.
NB. The label for the status field is "visible"

In opencase/modules/opencase_entities - [x] Actors - [x] Organisaions - [x] Events - [x] Equal opps - [x] Activity In opencase/modules/opencase_cases - [x] Case Fee - [x] Case provision - [x] Case File to edit is src/Entity/<entity_type> All fields (except for created, changed & revision translation affected) should have this: ->setDisplayConfigurable('form', true) ->setDisplayConfigurable('view', true) And this sort of thing should be removed: ->setDisplayOptions(blah...) Also get rid of weights. To test, go to Administration->Manage <entity_type> Types then pick one subtype and pick "Manage Form display" from the dropdown then check all the fields are listed. NB. The label for the status field is "visible"
naomi changed title from "Revision Log message" showing on activiites to Make all fields configurable so they can be ordered in gui 2021-11-16 07:22:43 +00:00
Alex was assigned by naomi 2022-04-08 10:13:56 +00:00
Collaborator

Done with Commit:489f4c0c94

Done with Commit:https://git.autonomic.zone/autonomic-cooperative/opencase/commit/489f4c0c942885d3e18b6fc5af31ca811b6a1d90
Alex closed this issue 2022-04-17 09:52:58 +00:00
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: autonomic-cooperative/opencase#19
No description provided.