Incorrect calculation of recipes in the category
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
I have a similar issue with the count of recipes. Current count is 500 recipes but total count says 1776. Checking the table 'cookbook_categories' the count of records macthes exact this number! So seems like the shown value just grabs the category count instead of e.g. the count of folders in the recipe location.
Besides that my category count is also wrong as stated above.
I have the same issue. I have 8 deserts, says I have 20. I have 5 categories, and all the others report correctly
It's also different per user. My user has Desserts wrong. My user also shares the recipe folder with 2 other users. 1 User shows everything exactly correct. The other user has Breakfast with the wrong number.
Cookbook Version 0.11.3 Nextcloud 30.0.10
Some folders show the correct number of recipes, others are way off, e.g. one shows 25 recipes and it only has 5....
Cookbook Version 0.11.3 Nextcloud Version 30.0.12
I have the same issue. Some categories show the correct number, some not.
Re-Importing the recipes via the settings menu in Cookbook did not have any effect.
Is there information we can provide to support debugging the issue?