Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-12325

fetch reverse_related_objects return duplicated objects

    XMLWordPrintable

Details

    Description

      When object is assigned to two or more nodes then reverse_related_objects returns duplicated objects.
      I use this code in template:

      {def $products=fetch( 'content', 'reverse_related_objects', hash( 
      					'object_id', $node.contentobject_id,
      					'attribute_identifier', 'product/producer',
      					'sort_by', array( array( 'name', true() ) ),
      					'ignore_visibility', false(),
      					'group_by_attribute',  false(),
      					'all_relations', false()
      				 ) )
      }
      

      Attachments

        Activity

          People

            andre1 andre1
            tompson tompson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: