Review 14.3 Merged

96063[BUGFIX] Avoid "-INF%" as rating of search results

Stefan Bürk CR +2 V +2 Normal +51 −2 updated 09/25/26, 06:49

Commit message

The RatingViewHelper calculates the relevance of a search result with
a logarithm of the ranking value. If the value is 0, log() returns
negative infinity, which is rendered as "-INF%". This happens for
results sorted by frequency with an order value of 0 and for results
sorted by flags without a rating.

Limit the ranking value to a minimum of 1, so that the rating is 0%.

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Stefan Bürk commented on patch set 1 09/25/26, 06:37

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 09/25/26, 06:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109225

  3. Stefan Bürk voted on patch set 1 CR +2 V +2 09/25/26, 06:48

  4. Stefan Bürk merged patch set 2 09/25/26, 06:49