Search field not populating results


I am trying to use search for the client-side database but battling to get it working correctly.

As soon as I type anything into the search it blanks out the list view.

Please can you have a look at the screen-shots and let me know where I am going wrong?

I assume data.CustomerOrders is an array, which includes all the records? You probably want to compare against the company name of the currently repeated object. Something like:

CONTAINS(LOWERCASE(current.CompanyNameV), LOWERCASE(pageVars.SearchCompany)).

Thank you Pekka,

It is working 100%

1 Like