Fix Search query.

This commit is contained in:
Hoang Huu
2019-10-12 11:07:50 +07:00
parent 095a398559
commit 43daaa49e7
2 changed files with 10 additions and 24 deletions

View File

@@ -357,7 +357,7 @@ class Opalestate_Property_Api extends Opalestate_Base_API {
$fieldquery = [
'key' => OPALESTATE_PROPERTY_PREFIX . $key,
'value' => sanitize_text_field( trim( $value ) ),
'compare' => '>=',
'compare' => apply_filters( 'opalestate_info_numeric_compare', '>=' ),
'type' => 'NUMERIC',
];
} else {