Skip to content

Commit

Permalink
Merge pull request #2982 from 10up/fix/2960
Browse files Browse the repository at this point in the history
Fix: Persist WooCommerce sorting in Facet
  • Loading branch information
felipeelia authored Sep 16, 2022
2 parents dfc45ab + c9d2066 commit ced318b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/Feature/Facets/Facets.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ public function output_feature_box_long() {
* @since 3.6.0
*/
public function get_allowed_query_args() {
$args = array( 's', 'post_type' );
$args = array( 's', 'post_type', 'orderby' );

/**
* Filter allowed query args
Expand Down

0 comments on commit ced318b

Please sign in to comment.