Closed (fixed)
Project:
Panopoly
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2013 at 20:13 UTC
Updated:
3 Jun 2013 at 22:01 UTC
Have a content pane view set up with field display and have labels for the fields, but not "administer title" (under "More" collasped fieldset).
Add content pane view, set to display type "table" and choice or . Both cases there's no label displayed, even though someone's configured one.
if (!empty($conf['header_type']) && $conf['header_type'] == 'titles') {
foreach ($view->field as &$field) {
$field->options['label'] = $field->options['ui_name'];
}
}
else {
foreach ($view->field as &$field) {
$field->options['label'] = NULL;
}
| Comment | File | Size | Author |
|---|---|---|---|
| panopoly_magic_ui_name.patch | 678 bytes | hefox |
Comments
Comment #1
panchoMoving this to the main Panopoly issue queue.
Comment #2
populist commentedThanks much for the report and patch. Reviewed + committed to dev.