changed filter by attribute filter options order (#44799)

* changed filter by attribute filter options order

In filter by attribute, order of the filter conditions "ALL" and "ANY" reversed as requested.

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

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

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Bhupesh Mishra 2024-03-08 18:15:53 +05:30 committed by GitHub
parent 0432a8fd88
commit 319408bb67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 4 deletions

View File

@ -230,14 +230,14 @@ const Edit = ( {
}
className="wc-block-attribute-filter__conditions-toggle"
>
<ToggleGroupControlOption
value="and"
label={ __( 'All', 'woocommerce' ) }
/>
<ToggleGroupControlOption
value="or"
label={ __( 'Any', 'woocommerce' ) }
/>
<ToggleGroupControlOption
value="and"
label={ __( 'All', 'woocommerce' ) }
/>
</ToggleGroupControl>
) }
<ToggleGroupControl

View File

@ -0,0 +1,4 @@
Significance: minor
Type: update
Ensure the "Any" Filter condition is displayed on the left and the "All" filter condition is displayed on the right side in the display settings for the Filter by Attribute block.