Duplicate database entries

Created on 25 April 2024, 2 months ago
Updated 5 June 2024, 24 days ago

Problem/Motivation

Duplicate entry in database table search_api_stats for search

Have a search api fulltext search on a page with a redirect to the search page
On entering the search, a double entry is added in the database because you searched with the fulltext field and then the search continues on the search page.

Steps to reproduce

Have a search api fulltext search on a page with a redirect to the search page
Enter search
Check database for double entry

Proposed resolution

Query the database for an entry for that keyword, language, server, index & timestamp
If a result exists then skip adding another row to the database

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium waropd

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

Comments & Activities

Production build 0.69.0 2024