Share » Forums » Developer » list_count an extended_attribute_filte

list_count an extended_attribute_filte

list_count an extended_attribute_filte

Thursday 04 May 2006 3:13:18 am - 4 replies

Author Message

Marc Boon

Thursday 04 May 2006 3:28:04 am

use: fetch('content', 'list', ...)|count

Xavier Dutoit

Thursday 04 May 2006 3:46:39 am

Hi,

Could you add a suggestion bug to add the extended filter feature on the list_count too ?

X+

http://www.sydesy.com

Nabil Alimi

Friday 05 May 2006 2:01:11 am

Marc Boon, I think doing it this way will be a bit slower since nodes are fetched... But that's how I solved this issue. :)

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

david e

Friday 05 May 2006 2:53:39 am

Suggestion submited! http://ez.no/community/bugs/add_extended_attribute_filte_to_list_count

conting the whole list is not practical. the server has very few resources.

meanwhile my patch is to peek the node object, for instance:

{def $list_count=$node.object.reverse_related_contentobject_count}

svn revision <= 15239 only

d.

http://www.ingent.cat/

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu