woocommerce/plugins/woocommerce-blocks/assets/js
Manish Menaria 6ca412f1ec
Add "Manual (menu order)" sorting option to Product Collection block (#52221)
* Add "Manual (menu order)" sorting option to Product Collection block

This change allows store owners to use their custom product order
(set in the WooCommerce admin panel) within the Product Collection block,
providing more flexibility in product listing.

* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce

* Change order from DESC to ASC

* Add test for menu_order sorting in ProductCollection

This commit adds a new test case to verify the functionality of menu_order
sorting in the ProductCollection block. The test ensures that when the
'orderBy' attribute is set to 'menu_order' and the 'order' is set to 'asc',
the resulting merged query correctly includes these sorting parameters.

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-10-23 13:39:15 +05:30
..
atomic Add to Cart with Options: Add Stepper option (#48876) 2024-10-10 16:36:49 +02:00
base [Accessibility] Associate the shipping calculator button to its form in Cart page (#52126) 2024-10-22 13:03:47 +01:00
blocks Add "Manual (menu order)" sorting option to Product Collection block (#52221) 2024-10-23 13:39:15 +05:30
blocks-registry Add Dimensions controls to Product Collection block (#51420) 2024-09-27 05:04:16 +02:00
data [Feature] Express Checkout Improvements (#50791) 2024-09-18 19:49:27 +00:00
editor-components Update broken docs links (#51967) 2024-10-10 17:37:27 +01:00
extensions Use `createRoot().render()` instead of `render()` (#48858) 2024-07-04 11:36:38 +02:00
filters Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
hocs With Product Variations HOC > Convert to TypeScript (#44785) 2024-02-26 10:26:21 -03:00
icons Update broken docs links (#51967) 2024-10-10 17:37:27 +01:00
interactivity [WIP][Accessibility] Fix inline documentation typos in woocommerce-blocks (#50737) 2024-08-19 13:57:38 +01:00
middleware Use site language when making Store API requests in Cart/Checkout (#51244) 2024-09-13 11:42:21 +02:00
previews Extensibility: Format currency config so it can be consumed more easily (#48727) 2024-07-12 14:24:22 +01:00
settings Remove the wc combobox component, it is no longer used (#50975) 2024-09-03 09:20:46 +00:00
shared Convert inner-block-layout-context to typescript (https://github.com/woocommerce/woocommerce-blocks/pull/9799) 2023-06-14 06:36:39 -07:00
templates/revert-button Update revert button text and description (#48717) 2024-07-03 19:31:50 +05:30
types [Feature] Express Checkout Improvements (#50791) 2024-09-18 19:49:27 +00:00
utils Use the term attribute sort order for the "Filter by attribute" block (#47616) 2024-05-21 15:44:08 +02:00
global.d.ts WIP - Checkout i2 Feature Branch Tracking (https://github.com/woocommerce/woocommerce-blocks/pull/4268) 2021-07-22 12:03:00 +01:00
index.js Move registration of block categories on the server side (#47836) 2024-06-03 20:34:41 +02:00