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

Change REST Location Search to use custom View/ViewInput media-types

    XMLWordPrintable

Details

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

    Description

      https://github.com/ezsystems/ezpublish-kernel/pull/1243 made Location Search using REST content views possible, by allowing a "type" attribute on the Query node in the ViewInput, specifying that the Query is a Location one.

      It turns out that this approach has a few issues when you think about stored views, since you would not know what is being returned (Content, or Location).

      We could change ViewInput to be a Content ViewInput (either deprecate, or document it as such), and introduce a new LocationViewInput. Similarly, the Response would be either a View (Content View), or a LocationView.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified