wpdreams / ajax-search-pro-development

Issues and dev tracking repository for Ajax Search Pro for WordPress plugin
0 stars 0 forks source link

Exact matches not working unless the Exact Match Filter is active #141

Closed ernestmarcinko closed 2 months ago

ernestmarcinko commented 2 months ago

Exact matches have no effect, unless the filter is also enabled.

image

There seems to be a missing check if the filter is selected on $sd['exactonly']

$args['_exact_matches']        = isset($o['asp_gen']) && is_array($o['asp_gen']) && in_array('exact', $o['asp_gen'], true);