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

Enable links from PJAX to other views

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 2015.09.1
    • None

    Description

      Follow-up to https://jira.ez.no/browse/EZP-24948

      The issue is that I cannot link from the user/group assignments in role view, to the user/group location views in question. Suggestion from damien.pobel@ez.no:
      Instead of generating <a href="/path/to/location">Link</a>, you could generate

      <a href="/path/to/location"
       data-route-name="viewLocation"
       data-route-id="LocationRestId"
       data-route-languageCode="eng-GB">Link</a>
      

      then when rewriting the links, the code should check for data-route-name attribute and use it together with others data-route-* attribute to generate the correct link
      See: https://github.com/ezsystems/PlatformUIBundle/blob/master/Resources/public/js/views/services/ez-serversideviewservice.js#L196

      When fixed, the links in EZP-24948 should be implemented.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gunnstein.lye@ibexa.co Gunnstein Lye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: