Amount of results for 'reset link' is calculated incorrectly

Created on 10 October 2019, almost 5 years ago
Updated 10 April 2024, 6 months ago

Problem/Motivation

The List of links 'reset link' amount of results is calculated as a sum of the count of each facet item. However, this amount is incorrect when:

  1. a result has multiple values for a field
  2. not every result has an associated facet (eg. field is optional)

Proposed resolution

Determine the correct amount of results of the 'reset link' from the facet source.

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

The 'reset link' shows the correct amount of results.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

🇳🇱Netherlands idebr

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.

Production build 0.71.5 2024