serverside/ajax search multiple columns

serverside/ajax search multiple columns

tim967tim967 Posts: 1Questions: 1Answers: 0

Good afternoon,

I am trying to get datatables to work with the server side/ajax method but also be able to search two colums.

I copied the files etc in this example:
https://www.datatables.net/examples/server_side/simple.html

However, when I search for two words it only searches one.

For Example

Say we have 3 colums, ID, title, and thickness

There will be a lot of products that have the thickness of 40mm and also a lot of products that have "luna night" in the title.

What I want to be able to do is search "luna night 40mm" and It finds any products that have both "luna night" in the title AND "40mm" in the thickness.

Is this possible at all and if so how can we do this?

This discussion has been closed.