Filtering array in CC5

cesarvelame , June 16 2016
c
cesarvelame

I need to filter one value in an array.

Filter uses query "LIKE" but I need "%LIKE%".

There is a way to do that?

Example: Column centro has value "A,B,C"
When I filter "A", only returns columns with "A", it doesn't filter "A,B,C" in results.

My configs:

Filters
conc.centro

Header Code

				<select class="form-control" name="fltr[conc][centro]" title="Centro">
<option disabled selected>Centro</option>
<option>A</option>
<option>B</option>
<option>C</option>
</select>


Thanks!

admin

Hi Cesar,

You can control this in the "Conditions" box.

Best regards,
Max

Powered by ChronoForums - ChronoEngine.com

ChronoForms Book

The ChronoForms Book, written for ChronoForms v3 contains 350 pages of invaluable ChronoForms How-tos hints and tips.

Note: many of the ideas can be used in ChronoForms v4 but the admin interface is very different and code examples may need to be modified.

SSL

Members Login

 

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com