-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Experimental] Add: QueryFilters class to calculate filter data for p…
…roduct queries (#42811) * add: query filters count class * chore: method comments * refactor: rename class to QueryFilters * fix: price filter count * fix: price filter url * chore: remove unnecessary transformation * chore: remove unused meta query filter * chore: put public methods on the top of the class * fix: passing $wp_query * Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce * fix: stock query clause * fix: handle and query type for attribute filter * fix: ensure passing non null value to floor/ceil * [Experimental] Collection Filter blocks: ensure the namespace is always rendered (#43112) * fix: ensure the namespace is always rendered * fix: target only wc queries * fix: properly reset part of query to make new filter blocks work with Product Collection block
- Loading branch information
1 parent
89c82f0
commit bd9ddc8
Showing
10 changed files
with
745 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: add | ||
Comment: Add `QueryFilters` class to calculate filter data for product queries. Update new interactive filter blocks to use `QueryFilters` instead of internal REST API requests. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.