Add a setting to enable search or fuzzy search

Created on 2 August 2023, over 1 year ago

Problem/Motivation

Add a setting to enable search or fuzzy search. That's controlled by the class of the input field.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

listjs_views

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

  • Issue created by @Anybody
  • 🇩🇪Germany Anybody Porta Westfalica

    Merge requests welcome. The module team won't work on this actively.

  • First commit to issue fork.
  • 🇮🇳India supriyak

    Hi @anybody,

    Below are my findings and observations while working on this issue.

    1. After enabling 'List.js' and 'Listjs views' modules when I try to edit any view and changed 'Format' to 'Listjs', it is giving me below error.
    => Error: Call to a member function __toString() on string in Drupal\listjs_views\Plugin\views\style\Listjs->buildOptionsForm() (line 74 of /var/www/html/modules/contrib/listjs/modules/listjs_views/src/Plugin/views/style/Listjs.php).
    This error got resolved after removing '->__toString();' from line number 74.

    Will you please let me know that can we create another issue regarding this error?

    2. I have used 'Listjs' format in 'admin/content' view where it seems to be fuzzy search is working already. Below I have attached screen recording for it.

    Will you please let me know that do we need to keep this issue open or we can close this? Or am I missing/misunderstood this issue? Please let me know so that I will get clarity on this and can work on it.

    Thank you!!

  • 🇩🇪Germany Anybody Porta Westfalica

    Hi @supriyak sorry, very busy currently. Could you please open a separate issue for the error including reproduction steps and resolution suggestion?
    Thanks!

    PS: Please keep this open for the future.

Production build 0.71.5 2024