Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1458

eZ Recommendation - Add filters to twig function

    XMLWordPrintable

    Details

    • Type: Feature
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Customer request
    • Component/s: eZ Recommendation
    • Labels:
      None
    • Environment:

      eZ Publish 5.4.9 + eZ Reco 1.2

      Description

      It is today not possible to add custom filters to a request to eZ Recommendation, through the "yc_show_recommendations" twig function (and then in the recommendation-bundle/Resources/public/js/recommendationrestclient.js file).

      For instance it would be useful to filter the results from eZ Reco functions of some fields (tags) using a submodel in YooChoose.
      But there's not possible to add custom filters like that currently.

      Please make it possible to add a new parameter to the "yc_show_recommendations" twig function to add custom filters.
      Maybe a simple string where one can add parameters to the query (like "&tags=tag1,tag2&type=2").

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: