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

allow fetch_alias to be used with attribute filters

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 4.0.6, 4.1.3
    • Misc
    • None

    Description

      It would be most helpful to be able to use the Constant part in fetch alias definition for attribute_filetr.
      Unfortunately it does currently not work, as recursive arrays are not supported for values assigned to Constant params.

      Suggestion: instead of using a simple split(';',$val), we could use a json_decode($val) instead, so that it would work with arbitrary nested values

      [obj_by_attr_val]
      Module=content
      FunctionName=list
      Constant[parent_node_id]=2
      Constant[attribute_filter]=[["classname/attrname","=","value"]]

      Even better: allow the parameter fed by user to be set inside an array

      Parameter[attribute_filter]=[["classname/attrname","=","$
      userparamname"]]

      Attachments

        Activity

          People

            unknown unknown
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: