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

Search statistics not updated for template based search

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • Customer request
    • 4.4.0, 4.5.0
    • Search
    • None
    • eZ Publish 4.4, 4.5

    Description

      Search statistics (/search/stats) are not updated when using template/fetch based search (eZContentFunctionCollection::fetchContentSearch()).

      The call to eZSearchLog::addPhrase() exists only in the modules content/search and content/advancedsearch. It should be moved from there to eZSearch::search(), which is always used no matter the search method.

      Steps to reproduce
      • Search using module content/search
      • Note that the search string shows up in /search/stats (OK)
      • Search using template/fetch based search
      • Note that the search string doesn't show up in /search/stats (BUG)

      Attachments

        Activity

          People

            e8318ba6-e4ae-477c-9116-36c073bd11a3@accounts.ibexa.co Patrick Allaert
            gl gl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: