Skip to content

If a String start with a number with Like Operator #21

@yusrub

Description

@yusrub

Hi All,

I have a field with a product name where we are using the like operator to search the product name from MYSQL.

Once it RQL parser creates the token it splits a single string into two tokens.

one with the number and the other with the string part of the input.

For example: if I tried to search with the input name "0234 bedroom set"

The token list will be like that

$token[0] = "0234";
$token[1] = "bedroom set";

image (4)

My expectation should not split the string into Two tokens instead it should create one token with $token[0]="0234 bedroom set".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions