nextcloud / nextcloud/cookbook

Incorrect calculation of recipes in the category

Open
#2,525 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
HTML
Stars
642
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

Description
When displaying the list of categories, the number of recipes is not displayed correctly. In some categories, the number of recipes is calculated correctly, and in some categories it is not. As a rule, a larger number is indicated than it actually is.

Reproduction
Steps to reproduce the behavior:
Go to CookBook

Expected behavior
The number of recipes in category must be counted correctly

Actual behavior
Incorrect number of recipes in the category

Screenshots
image

Browser
Chrome

Versions
Nextcloud server version: 8 (29.0.7)
Cookbook version: 0.11.2
Database system: MySQL 8.0.35

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reproducing the incorrect counts in the category list with Cookbook 0.11.2 on Nextcloud 29.0.7 and MySQL 8.0.35, then trace how the displayed count is obtained. Done means the count matches the actual recipes in each category, including categories that currently overcount.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.