Quant Search Index form ignores empty checkboxes.

Created on 20 January 2024, 10 months ago
Updated 1 March 2024, 9 months ago

Problem/Motivation

When testing for πŸ“Œ Create Quant 1.5.5 release Postponed and testing the Quant Search Index form, it processed the index even if the checkboxes weren't checked.

Steps to reproduce

  • Enable search in the Quant dashboard
  • Install/configure quant_api and quant_search modules
  • Create content on the site
  • Go to: /admin/config/development/quant/search/index
  • Leave checkboxes unchecked and click Save configuration button
  • Result: The content will be processed
  • Expected result: The content won't be processed

Proposed resolution

Look at the checkbox values before processing.

Remaining tasks

  • Update code
  • Review and test
  • Commit :)

User interface changes

Progress bar won't show up when submitting the index form when nothing is checked.

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

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

Comments & Activities

Production build 0.71.5 2024