Closed (fixed)
Project:
Project
Version:
6.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
28 Nov 2009 at 23:54 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dwwI'm not 100% this is the most elegant place to enforce the limit, but it works great for me. Inside pre_render(), as we're building up our array of $items, we just check if we've already reached the limit for any given nid, and if so, we skip that result. Patch for the code, and also a .png of the views UI when you're configuring this field.
Comment #2
dwwCommitted to HEAD. If there's a cleaner way to do this, I can always change it later. ;)
Comment #3
dwwFrom IRC:
Phew. ;) "fixed" it is...