'Maximum number of items in Autocomplete' configuration is not giving correct results

Created on 19 August 2020, over 4 years ago
Updated 12 March 2024, 11 months ago

Problem/Motivation

'Maximum number of items in Autocomplete' configuration is not giving correct results.

Steps to reproduce

Set value of 'Maximum number of items in Autocomplete' to 10 and observe the autosuggestion results. Result should show 10 suggestions as per the configuration. Its showing incorrect result.

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇮🇳India renukakulkarni

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇪Belgium jelle_s Antwerp, Belgium

    Reroll of #5.

  • Status changed to Closed: works as designed 11 months ago
  • 🇷🇴Romania vasike Ramnicu Valcea

    It's a known issue if we have duplicate values.

    I'm afraid the patches here could not be considered here.
    As it's not desired to make a query for "millions" of results ... which actually is possible if the limit is empty.
    But if someone decides a limit is needed ... then query limit is desired.

    However we could:
    - Add info to project about this https://www.drupal.org/project/views_autocomplete_filters/issues/3387912... 🌱 Module Documentation and infos Active
    - And maybe try to have this altering solution ... maybe it could help in such cases
    https://www.drupal.org/project/views_autocomplete_filters/issues/3393550 Bug when using contrib module Realname Needs work

Production build 0.71.5 2024