The Aggregated Fields interface shows only the field title, which can be ambiguous. For example, using https://drupal.org/project/title, provides a "Title" field, with the machine name field_title. The current interface provides no distinction between the two "Title" fields.
I suggest adding the field description or machine name to the Aggregated Fields interface.
Comments
Comment #1
leeomaraSimple patch adding the field description to the title attribute of the checkbox text.
Comment #2
drunken monkeyGreat suggestion, thanks! We've luckily already fixed these ambiguities in most other places, but this one still remains, you're right.
Also, I didn't even know HTML was allowed there! Escaping in Drupal really is an inconsistent mess …
But, if it is allowed, we should also escape the field name, shouldn't we? Slightly revised patch attached.
Comment #3
leeomaraRather than placing HTML in the label, this alternate approach uses the
#descriptionattribute of checkboxes. It certainly makes the list larger, but it has the advantage of being more obvious (no need to hover to see the title).Comment #5
leeomaraWelp, it works better without the syntax error.
Comment #6
leeomara*sigh*.. I'll get the hang of this soon.
Comment #7
drunken monkeyAh, yes, that looks very nice! Code is also fine – we just need to escape the description, too, it seems.
Comment #8
drunken monkeyCommitted.
Thanks again!