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

Fetch search returns all the locations of the objects it finds

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • Future
    • 4.1.3
    • Search
    • None
    • Operating System:
      PHP Version: (please be specific, like '4.4.3' or '5.1.5')
      Database and version:
      Browser (and version):
      Affected version: 4.1.0

    Description

      I run a multisite on one installation of eZ Publish with several siteaccess.

      Content from one site gets distributed to other sites by adding locations to that content.

      Now the search returns each location of that content in its results. The intended behaviour is to receive only the location under the rootnode of the current siteaccess.

      This is even though I use the subtree_array parameter for fetch search with the node id I'm using as root node to the current siteaccess, as suggested in Step 8 of http://ez.no/developer/forum/setup_design/valentin_s_multisite_guide_v_1_example_uses_ezp_v_3_9_4

      Further, search count does not count all locations, but each result only once.

      Steps to reproduce

      Create two different siteaccess with content.
      Create content in one and add to its location a place in the other siteaccess.
      Change search.tpl to include the subtree_array parameter and give that the base node of the site currently viewed.
      Use the search feature and check the results.

      Attachments

        Activity

          People

            unknown unknown
            krauss-schaffhausen krauss-schaffhausen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: