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(search): does not apply the extended search for polymorphic relationships #684

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

nicolasalexandre9
Copy link
Member

Definition of Done

General

  • Write an explicit title for the Pull Request, following Conventional Commits specification
  • Test manually the implemented changes
  • Validate the code quality (indentation, syntax, style, simplicity, readability)

Security

  • Consider the security impact of the changes made

Copy link

codeclimate bot commented Jul 2, 2024

Code Climate has analyzed commit 5e79af3 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

The test coverage on the diff in this pull request is 0.0% (55% is the threshold).

This pull request will bring the total coverage in the repository to 50.5%.

View more on Code Climate.

column.name)
unless (SchemaUtils.polymorphic?(resource))
resource.klass.columns.each do |column|
if !(column.respond_to?(:array) && column.array) && text_type?(column.type)
Copy link

Choose a reason for hiding this comment

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

Avoid deeply nested control flow statements.

@nicolasalexandre9 nicolasalexandre9 merged commit d4c74e8 into main Jul 2, 2024
5 of 6 checks passed
@nicolasalexandre9 nicolasalexandre9 deleted the fix/extended-search branch July 2, 2024 12:27
forest-bot added a commit that referenced this pull request Jul 2, 2024
## [9.3.12](v9.3.11...v9.3.12) (2024-07-02)

### Bug Fixes

* **search:** does not apply the extended search for polymorphic relationships ([#684](#684)) ([d4c74e8](d4c74e8))
@forest-bot
Copy link
Member

🎉 This PR is included in version 9.3.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

montedev0516 added a commit to montedev0516/Artizyou-Platform that referenced this pull request Nov 7, 2024
## [9.3.12](ForestAdmin/forest-rails@v9.3.11...v9.3.12) (2024-07-02)

### Bug Fixes

* **search:** does not apply the extended search for polymorphic relationships ([#684](ForestAdmin/forest-rails#684)) ([d4c74e8](ForestAdmin/forest-rails@d4c74e8))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants