Skip to content

Commit 4fe6fa7

Browse files
authored
gppa-faceted-filters.php: Updated to account for "0" filter values.
1 parent 422a154 commit 4fe6fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experimental/gppa-faceted-filters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
return $query_builder_args;
2929
}
3030

31-
if ( ! $filter_value ) {
31+
if ( rgblank( $filter_value ) ) {
3232
array_pop( $query_builder_args['where'][ $filter_group_index ] );
3333
}
3434

0 commit comments

Comments
 (0)