Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: posts in the recycle are not excluded when calculating posts under category #1822

Merged
merged 2 commits into from Apr 7, 2022

Conversation

guqing
Copy link
Member

@guqing guqing commented Apr 6, 2022

What this PR does?

修复根据分类统计文章数量的方法没有排除回收站文章的问题

/kind bug
/cc @halo-dev/sig-halo

@f2c-ci-robot f2c-ci-robot bot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 6, 2022
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Apr 6, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guqing

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 6, 2022
@guqing
Copy link
Member Author

guqing commented Apr 7, 2022

/hold

@f2c-ci-robot f2c-ci-robot bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 7, 2022
@guqing
Copy link
Member Author

guqing commented Apr 7, 2022

/unhold

@f2c-ci-robot f2c-ci-robot bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 7, 2022
@guqing
Copy link
Member Author

guqing commented Apr 7, 2022

/cc @halo-dev/sig-halo

Copy link
Member

@ruibaby ruibaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Apr 7, 2022
@f2c-ci-robot f2c-ci-robot bot merged commit 7367556 into halo-dev:master Apr 7, 2022
@ruibaby ruibaby added this to the 1.5.x milestone Apr 8, 2022
@guqing guqing deleted the bugfix/category-post-count branch April 15, 2022 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants