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

Reverse_related_objects fetch results in a query error

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.9.1
    • 3.8.4, 3.9.0alpha1
    • Misc
    • None
    • Operating System:
      PHP Version:
      Database and version:

    Description

      When using the sort_by parameter "path_string", the content/reverse_related_objects fetch function results in a sql query error:

      >
      > Query error: Unknown column 'path_string' in 'order clause'
      >

      Steps to reproduce
      {def $results=fetch('content','reverse_related_objects',hash('object_id',$node.contentobject_id,
                                                                            'attribute_identifier',608,
                                                                            'sort_by','published'))}
      
      {undef $results}
      

      Attachments

        Activity

          People

            vp vp
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: