search

Questionssearch
Sascha asked 7 years ago

Hi
If i'm looking in the "search fields" for example for a 4, he shows me also the 14, 24, 34 (all with 4). Can i adjust this, that he looks only for 4?

1 Answers
Abu Ghufran answered 7 years ago

By default it perform contains search for each column.
You can change it by:

$col["searchoptions"]["sopt"] = array("eq");

It will then use equals operator.

Your Answer

4 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?