Skip to content

Conversation

@HowieHz
Copy link

@HowieHz HowieHz commented Oct 4, 2025

What type of PR is this?

/area core
/kind feature

What this PR does / why we need it:

为 postFinder 添加 随机文章方法

Which issue(s) this PR fixes:

Fixes #7327

Special notes for your reviewer:

Does this PR introduce a user-facing change?

为 postFinder 添加 随机文章方法

@f2c-ci-robot f2c-ci-robot bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note Denotes a PR that will be considered when it comes time to generate release notes. area/core Issues or PRs related to the Halo Core kind/feature Categorizes issue or PR as related to a new feature. labels Oct 4, 2025
@CLAassistant
Copy link

CLAassistant commented Oct 4, 2025

CLA assistant check
All committers have signed the CLA.

@f2c-ci-robot f2c-ci-robot bot requested review from LIlGG and wan92hen October 4, 2025 09:48
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Oct 4, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign johnniang for approval. For more information see the Code Review Process.

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

Details 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

@HowieHz
Copy link
Author

HowieHz commented Oct 4, 2025

相关 pr #7471

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 4, 2025

@HowieHz HowieHz changed the title [WIP] feat: Add a random article method to the post finder feat: Add a random article method to the post finder Oct 4, 2025
@f2c-ci-robot f2c-ci-robot bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 4, 2025
@HowieHz
Copy link
Author

HowieHz commented Oct 4, 2025

相关 pr #7471

尝试按照 #7471 (comment) 描述实现。
我希望有大神能把这个改为类似 list({...})
Flux<ListedPostVo> random(Map<String, Object> params) 可传入 limit 还有 tagName、categoryName、ownerName 。

🫶

@JohnNiang
Copy link
Member

Hi @HowieHz , thank you for your contribution!

I will move this PR into Halo 2.22.0 milestone due to possibly refactoring index mechanism.

/milestone 2.22.x

@f2c-ci-robot f2c-ci-robot bot added this to the 2.22.x milestone Oct 16, 2025
@sonarqubecloud
Copy link

@JohnNiang JohnNiang modified the milestones: 2.22.x, 2.22.2 Dec 25, 2025
@ruibaby ruibaby modified the milestones: 2.22.x, 2.23.x Jan 21, 2026
@sonarqubecloud
Copy link

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/feature Categorizes issue or PR as related to a new feature. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

提供随机文章 API

5 participants