Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Search control Searching database not returning results

Hi

I have a Search Contol and a List Control on a page. I need to display the results of the search in the list.

I have created a query service with the list item mapped to the Where field. My Java Script for the Where field is....

return '{"Searchme":"'+value+'"}';

Searchme being the name of the Search Control.

I am not returning any search results.
Am I following the correct approach when doing a search?

Thank you.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Search control Searching database not returning results

Is the parameter name 'where' or 'Where'?

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Search control Searching database not returning results

I dont follow?

I invoke a query service with the following JS Return '{"Searchme":"'+value+'"}'; mapped to the the Where Parameter.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Search control Searching database not returning results

Please see image Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Search control Searching database not returning results

What is the actual parameter name, where or Where?

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Search control Searching database not returning results

I do not know what you mean? Please explain.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Search control Searching database not returning results

Hi Deon,

[quote:]Where field[/quote]Max asks whether you use uppercase ("Where") or lowercase ("where")...

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Search control Searching database not returning results

Hi
Please have a look at Max's post here.

https://getsatisfaction.com/apperyio/...

That is what I want to achieve but with a search control and not an input control.

It is not working for me when I use that example

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Search control Searching database not returning results

Deon,

I'll test this and update.

Return to “Issues”