ollyg/Catalyst-Plugin-AutoCRUD — Issue #17: display_name via configuration
Author: ollyg
Created: 2011-10-16 09:34:29+00:00
State: open
Labels: Wishlist

see [rt.cpan.org #64455]

Paul suggests that display_name can be set via configuration. My idea is to have something like

display_name title

Which would make AutoCRUD call `$row->get_column('title')` as the row's `display_name` (or if not configured, fall back to the current behaviour of checking stringification and a `display_name` sub.

The `display_name` configuration could also be a list, in which case the specified columns are joined together with spaces. This would support common use cases such as "Forename Surname".