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

Autocomplete does not filter on current language

    Details

      Description

      The Ajax function for autocomplete, eZFindServerCallFunctions::autocomplete(), does not have a filter on language unless the MultiCore feature for languages are enabled, which means it returns suggestions for any random language in the system.

      Should add a filter 'fq' => array( 'meta_language_code_ms:' . $siteINI->variable( 'RegionalSettings', 'Locale') ) or something.

        Issue Links

          Activity

          Hide
          Jarosław-- Heba added a comment -

          Hello Arne,

          I have previously made a patch for ezfind 2.3. Hopefully this will work for 2.4 too.
          Please note that this is not a final fix.

          Please find the patch attached to the issue.

          Show
          Jarosław-- Heba added a comment - Hello Arne, I have previously made a patch for ezfind 2.3. Hopefully this will work for 2.4 too. Please note that this is not a final fix. Please find the patch attached to the issue.
          Show
          Jérôme Vieilledent added a comment - Fixed in : master ( https://github.com/ezsystems/ezfind/commit/fe928f0d45697e93721d5dbeb52c17343d6f0118 ) stable-2.5 ( https://github.com/ezsystems/ezfind/commit/a71672cb972b897fe572afd02a1a2ce01dd2ae76 ) stable-2.4 ( https://github.com/ezsystems/ezfind/commit/918238f249aa799d141ff0c2238cc85c896a12a0 ) stable-2.3 ( https://github.com/ezsystems/ezfind/commit/6919e40bad258425143bafbab4889387cc62c309 )
          Hide
          Vidar Langseid added a comment -

          This looks like a dupe of 017330.. is it?
          If so, 017330 can be closed as well now...

          Show
          Vidar Langseid added a comment - This looks like a dupe of 017330.. is it? If so, 017330 can be closed as well now...
          Hide
          Jérôme Vieilledent added a comment -

          You're right, #17330 is closed now.

          Show
          Jérôme Vieilledent added a comment - You're right, #17330 is closed now.

            People

            • Assignee:
              Jérôme Vieilledent
              Reporter:
              Arne Bakkebo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: