jquery-flexdatalist icon indicating copy to clipboard operation
jquery-flexdatalist copied to clipboard

Search with negative value not rendering

Open AguinaldoAranda opened this issue 6 years ago • 0 comments

Hello everyone, Congratulations on the plugin, show!

I have a query in mysql that accepts deny values (MATCH () and AGAINST ()), for example:

In the database:

"Fiat Brava SX 1.6 16V 4p" "Fiat Brava ELX 1.6 16V 4p" "BRAVA YB 150T-15 150cc" "Fiat Brava HGT 1.8 mpi 16V 4p"

If I search for "Brava -HGT", the return will be:

"Fiat Brava SX 1.6 16V 4p" "Fiat Brava ELX 1.6 16V 4p" "BRAVA YB 150T-15 150cc"

It works perfectly.

But using this plugin, if I search for something with "-string" nothing appears on the list, even though JSON is rerunted by the search backend, as exemplified above.

In the image below you can see the result of the search "brava": image

And in the image below you can see the result of the search "brava -hgt": image

In this last print, note that it does not return the item "Fiat Brava HGT 1.8 mpi 16V 4p", however, nothing is rendered in the list.

Can anyone help? Sorry for the translator's english

AguinaldoAranda avatar May 11 '18 19:05 AguinaldoAranda