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

在隐藏分类中的文章,取消关联分类后文章在列表中永久消失 #6194

Closed
LIlGG opened this issue Jun 28, 2024 · 3 comments · Fixed by #6204
Closed

在隐藏分类中的文章,取消关联分类后文章在列表中永久消失 #6194

LIlGG opened this issue Jun 28, 2024 · 3 comments · Fixed by #6204
Assignees
Labels
area/core Issues or PRs related to the Halo Core kind/bug Categorizes issue or PR as related to a bug.

Comments

@LIlGG
Copy link
Member

LIlGG commented Jun 28, 2024

系统信息

使用的哪种方式运行?

Docker

发生了什么?

文章处于隐藏的分类中时,此时在文章中将此隐藏分类移除,文章将不会显示在文章列表内,即便此时将此隐藏分类取消,文章也不会出现。

复现步骤:

  1. 为某一篇文章设置一个顶级分类。
  2. 设置此顶级分类为在列表中隐藏
  3. 将此文章中移除隐藏的顶级分类。

期望此时文章应该显示在列表当中。

/kind bug
/area console

相关日志输出

No response

附加信息

No response

@f2c-ci-robot f2c-ci-robot bot added kind/bug Categorizes issue or PR as related to a bug. area/console Issues or PRs related to the Halo Console labels Jun 28, 2024
@LIlGG
Copy link
Member Author

LIlGG commented Jun 28, 2024

/area core

@LIlGG LIlGG removed the area/console Issues or PRs related to the Halo Console label Jun 28, 2024
@f2c-ci-robot f2c-ci-robot bot added the area/core Issues or PRs related to the Halo Core label Jun 28, 2024
@LIlGG
Copy link
Member Author

LIlGG commented Jun 28, 2024

经过测试,删除隐藏分类后也会有同样的问题

@guqing
Copy link
Member

guqing commented Jun 28, 2024

/assign

f2c-ci-robot bot pushed a commit that referenced this issue Jun 28, 2024
…es (#6204)

#### What type of PR is this?
/kind bug
/area core
/milestone 2.17.x

#### What this PR does / why we need it:
修复文章关联或取消关联隐藏分类后显示不正确的问题

#### Which issue(s) this PR fixes:
Fixes #6194
Fixes #6195

#### Does this PR introduce a user-facing change?
```release-note
修复文章关联或取消关联隐藏分类后显示不正确的问题
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants