This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/Pro/Filtering/FilteringCPT.php 2023-12-16 13:44:38.817294704 +0000 | |
+++ src/Pro/Filtering/FilteringCPT.php 2023-12-16 13:44:19.792826943 +0000 | |
@@ -211,8 +211,8 @@ | |
self::$variationWhere = $this->queryWhere; | |
} | |
- $joinString = " INNER JOIN {$this->wpdb->postmeta} AS $table_alias ON ({$this->wpdb->posts}.ID = $table_alias.post_id) "; | |
- $whereString = "$table_alias.meta_key = '$meta_key' AND $table_alias.meta_value " . $this->parse_condition($rule, false, $table_alias); | |
+ $joinString = " INNER JOIN {$this->wpdb->postmeta} AS $table_alias ON ({$this->wpdb->posts}.ID = $table_alias.post_id AND $table_alias.meta_key = '$meta_key') "; | |
+ $whereString = "$table_alias.meta_value " . $this->parse_condition($rule, false, $table_alias); |