While having a data alteration for creating aggregated fulltext fields can be pretty useful, there is no real reason to not allow other aggregation at the same time – i.e., instead of only concatenating all text values, we could also compute sums, count values or use other aggregations.
The attached patch would add this feature (hopefully in a correct way), reviews would be appreciated.
Supported aggregations at the moment are fulltext, sum, count, max, min and first.

Known problem: For some reason, "Remove field" doesn't work anymore. Will have to see about that …

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drunken monkey’s picture

Status: Needs review » Fixed

No complaints, seems to work and I fixed the known problem – so, committed.

fago’s picture

Status: Fixed » Needs review
FileSize
1.26 KB

I ran in a problem with this, caused by the update not marking exports-in-code as changed. Thus the changes are overridden on the next cache-clear, which undos the changes the update made.

Fix for the update procedure attached.

drunken monkey’s picture

Status: Needs review » Fixed

Ow, sorry, didn't think about that. Should keep that in mind in the future …
Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.