Code Duplication    Length = 3-3 lines in 2 locations

includes/widgets/class-wc-widget-layered-nav.php 2 locations

@@ 275-277 (lines=3) @@
272
		}
273
274
		// Orderby
275
		if ( isset( $_GET['orderby'] ) ) {
276
			$link = add_query_arg( 'orderby', wc_clean( $_GET['orderby'] ), $link );
277
		}
278
279
		// Search Arg
280
		if ( get_search_query() ) {
@@ 285-287 (lines=3) @@
282
		}
283
284
		// Post Type Arg
285
		if ( isset( $_GET['post_type'] ) ) {
286
			$link = add_query_arg( 'post_type', wc_clean( $_GET['post_type'] ), $link );
287
		}
288
289
		// Min Rating Arg
290
		if ( isset( $_GET['min_rating'] ) ) {