I implement this plugin and everything works great (full names, location, job titles), except for the filtering zip / post code that contain a combination of letters and numbers, example: BL6 2TZ
If I put in the filter only letters (BL) or numbers (6), plugin return results.
<?= $this->Form->input('zipcode',['class' => 'form-control','label' => 'Postcode / Zipcode']); ?>
//
$this->searchManager()
->add('name', 'Search.Like', [
'before' => true,
'after' => true,
'field' => [$this->aliasField('name')]
])
->add('job_title', 'Search.Like', [
'before' => false,
'after' => true,
'field' => [$this->aliasField('job_title')]
])
->add('location', 'Search.Like', [
'before' => false,
'after' => true,
'field' => [$this->aliasField('city')]
])
->add('zipcode', 'Search.Like', [
'before' => true,
'after' => true,
'field' => [$this->aliasField('zipcode')]
])
->add('country', 'Search.Like', [
'before' => false,
'after' => true,
'field' => [$this->aliasField('country')]
]);