Development

#4794 ([new_admin] list hide functionality missing)

You must first sign up to be able to contribute.

Ticket #4794 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

[new_admin] list hide functionality missing

Reported by: Pascal Assigned to: Jonathan.Wage
Priority: minor Milestone: 1.2.0 BETA2
Component: sfPropelPlugin Version: 1.2.0 BETA1
Keywords: hide list Cc:
Qualification: Unreviewed

Description

in 1.0 admin generator, it was possible to hide fields like that :

      list:    
        hide: [created_at]

It's nice to use since you can display all fields except created_at for example.

Can we have this functionality back in 1.2 ?

Change History

11/09/08 21:28:21 changed by fabien

  • milestone changed from 1.2.0 to 1.2.0 BETA2.

11/10/08 07:47:06 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [12863]) [1.2] added hide feature to admin gen (closes #4794)

11/10/08 11:56:48 changed by Pascal

  • status changed from closed to reopened.
  • resolution deleted.

Thanks for this enhancement of the list part.

Could we have it for default, form, new, edit, form part of generator ?

For example, lot of people could use it to hide some fields without any use of the unset in classes.

What do you think ?

[MA]Pascal

11/10/08 12:40:07 changed by fabien

  • status changed from reopened to closed.
  • resolution set to wontfix.

No, for the forms, display is only to reorder things, so hide does not make sense. It's the kind of customization you need to do in your form class. generator.yml is only for display configuration (no logic).

11/10/08 15:18:23 changed by Pascal

I agree display is for reorder things.

11/17/08 19:23:32 changed by Pascal

  • status changed from closed to reopened.
  • resolution deleted.

11/17/08 19:23:47 changed by Pascal

  • owner changed from fabien to Jonathan.Wage.
  • status changed from reopened to new.

11/17/08 20:21:27 changed by Jonathan.Wage

  • status changed from new to closed.
  • resolution set to fixed.

(In [13073]) [1.2] sfDoctrinePlugin: added hide feature to admin gen (closes #4794)