Skip to content

feat: Search by billing_address and shipping_address on Order model - #12814

Merged
olivermrbl merged 2 commits into
developfrom
search-orders-by-address
Jun 25, 2025
Merged

feat: Search by billing_address and shipping_address on Order model#12814
olivermrbl merged 2 commits into
developfrom
search-orders-by-address

Conversation

@juanzgc

@juanzgc juanzgc commented Jun 24, 2025

Copy link
Copy Markdown
Contributor

What
Added .searchable() method to the shipping_address and billing_address relationships in the Order model, enabling search functionality.

Why
Previously searching via shipping_address and billing_address was not supported, limiting the ability to find orders based on shipping or billing address information.

Resolves SUP-1838

@juanzgc
juanzgc requested a review from a team as a code owner June 24, 2025 15:24
@changeset-bot

changeset-bot Bot commented Jun 24, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 90432ca

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Jun 24, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2025 7:19pm
8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Jun 24, 2025 7:19pm
api-reference-v2 ⬜️ Ignored (Inspect) Visit Preview Jun 24, 2025 7:19pm
cloud-docs ⬜️ Ignored (Inspect) Visit Preview Jun 24, 2025 7:19pm
docs-ui ⬜️ Ignored (Inspect) Visit Preview Jun 24, 2025 7:19pm
docs-v2 ⬜️ Ignored (Inspect) Visit Preview Jun 24, 2025 7:19pm
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Jun 24, 2025 7:19pm
resources-docs ⬜️ Ignored (Inspect) Visit Preview Jun 24, 2025 7:19pm
user-guide ⬜️ Ignored (Inspect) Visit Preview Jun 24, 2025 7:19pm

Comment thread integration-tests/http/__tests__/order/admin/order.spec.ts
juanzgc added 2 commits June 24, 2025 14:17
**What**
Added `.searchable()` method to the `shipping_address` and `billing_address` relationships in the `Order` model, enabling search functionality.

**Why**
Previously searching via `shipping_address` and `billing_address` was not supported, limiting the ability to find orders based on shipping or billing address information.

Resolves SUP-1838
@olivermrbl
olivermrbl merged commit fbf3388 into develop Jun 25, 2025
26 checks passed
@olivermrbl
olivermrbl deleted the search-orders-by-address branch June 25, 2025 07:16
Comment thread integration-tests/http/__tests__/order/admin/order.spec.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants