I have a CCK field for pictures, currently it allows for an unlimited # of them to be added. Would this allow me to display the nodes with the most pictures first?

Comments

rsevero’s picture

Version: 6.x-1.0-alpha1 » 6.x-1.x-dev
Assigned: Unassigned » rsevero
Status: Active » Fixed

I believe you used ImageField CCK.

If this is the case, you will need the patch from http://drupal.org/node/669070#comment-3183260 so you can aggregate on Node NID and use the MAX SQL function to get the maximum value of delta content field (there is one "delta" for each unlimited field).

Please reopen with extra info if necessary.

Status: Fixed » Closed (fixed)

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