Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix counting the number of notes to skip those that are not visible according to the user's access levels (private notes). Bugnote count is built alongside bugnote statistics. This commit rewrites the statistics generation to account for user access level for each bug and each project. Removes duplicate logic (sql queries) from: - bug_api.php: function bug_get_bugnote_stats() - filter_api.php: function filter_get_bug_rows() Fixes: #0006939
- Loading branch information
Showing
2 changed files
with
94 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters