SearchApiDisplay->getCount() not returning a string

Created on 8 August 2024, 4 months ago

Problem/Motivation

In some cases the SearchApiDisplay->getCount() is returning nothing, but expecting a string

Steps to reproduce

In my case: this happens when using a search view without parameter un url

Proposed resolution

Return 0 when $this->searchApiQueryHelper->getResults($search_id) == NULL

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium plektr0

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

Comments & Activities

Production build 0.71.5 2024