1. Open the app/addons/searchanise/func.php file.
  2. Find this line:
    $query_by['product_code'] = trim($params['pcode']);

     and replace it with: 

    if (empty($params['pcode_from_q'])) {
                $query_by['product_code'] = trim($params['pcode']);
    }