nextcloud / nextcloud/cookbook
Incorrect calculation of recipes in the category
Nobody has claimed this yet.
- 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
Browser
Chrome
Versions
Nextcloud server version: 8 (29.0.7)
Cookbook version: 0.11.2
Database system: MySQL 8.0.35
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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