I've found an issue with the Views UI when I add a duplicate field to a view. If I have a view set up to show fields, and I add a field twice, it does not work right. Normally one would be field_name and the other would be field_name_1. However, the link on the field goes to field_name on both of them. Creating quite a confusion, and an inability to format the fields separately and errors within the UI.

I've narrowed the problem to the ember_views_ui_display_tab_alter() function. I'm wondering if this function is really necessary considering the issue it's creating. Not sure if this function worked perfectly before and views just evolved, or if this was unnoticed from the start.

The fix is...
1) switching themes, making the change, and switching back. I figured I would bring this up in case anyone may encounter the same issue.
2) removing the views_ui_edit_form_get_bucket() function from the template.php file.

Comments

xpersonas created an issue.

eviegas’s picture

function _ember_views_ui_field_link in template.php

return l($link_text,
    "$root_url/$type/{$field['id']}",
    array('attributes' => $link_attributes, 'html' => TRUE)
    );
vidit.anjaria’s picture

Hi @xpersonas,

I think, this issue is resolved with latest release i.e. 7.x-2.0-alpha4. Kindly check.