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

BlogHelper_getCategoryByName #3177

Merged
merged 9 commits into from
Mar 5, 2024
Merged

BlogHelper_getCategoryByName #3177

merged 9 commits into from
Mar 5, 2024

Conversation

thangnnmd
Copy link
Collaborator

BlogHelper_getCategoryByName

@thangnnmd
Copy link
Collaborator Author

@HungDV2022 please take a look

@HungDV2022 HungDV2022 assigned thangnnmd and unassigned HungDV2022 Feb 28, 2024
@thangnnmd thangnnmd assigned HungDV2022 and unassigned thangnnmd Feb 29, 2024
@HungDV2022 HungDV2022 assigned ryuring and unassigned HungDV2022 Feb 29, 2024
Copy link
Collaborator

@ryuring ryuring left a comment

Choose a reason for hiding this comment

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

@thangnnmd @HungDV2022 レビューいれました確認お願いします。

plugins/bc-blog/src/Model/Table/BlogCategoriesTable.php Outdated Show resolved Hide resolved
'BlogCategory.name' => urlencode($name),
],
'recursive' => -1
$conditions = array_merge([
Copy link
Collaborator

Choose a reason for hiding this comment

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

@thangnnmd @HungDV2022 配列の階層を変えてしまうと、後方互換が保てずエラーとなってしまいます。
同じ階層のまま、find() の第2引数に入れてください。

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

changed

plugins/bc-blog/src/View/Helper/BlogHelper.php Outdated Show resolved Hide resolved
plugins/bc-blog/src/View/Helper/BlogHelper.php Outdated Show resolved Hide resolved
@ryuring ryuring assigned HungDV2022 and thangnnmd and unassigned ryuring Mar 4, 2024
@ryuring ryuring added the Reviewed レビュー済 label Mar 4, 2024
@thangnnmd thangnnmd removed their assignment Mar 4, 2024
@HungDV2022
Copy link
Collaborator

@ryuring もう一度レビューをお願いします。

@ryuring
Copy link
Collaborator

ryuring commented Mar 5, 2024

@thangnnmd @HungDV2022 Thank you. I will merge this pull request.

@ryuring ryuring merged commit 8135483 into baserproject:dev-5.1 Mar 5, 2024
1 check passed
@momofff momofff added this to the 5.1.0 milestone Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reviewed レビュー済
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants