Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Creating a search with 2 variables

Should I set a local storage variable on "county" or "restaurant"? Then maybe paste the javascript??

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

Creating a search with 2 variables

Request parameter "where" sets conditions for choise not all, but definite values. Parameter:code{ "County": "...", "Restaurant": "..."}/code

Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Creating a search with 2 variables

So.......I need to setup a local storage in my query page, and on the answer page I need to set where to the local storage and add the JavaScript.....correct?

Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Creating a search with 2 variables

okay, i need to take a break. This is frustrating me.......

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

Creating a search with 2 variables

Yes, you're right. You should add JS code I adviced (https://getsatisfaction.com/tiggzi/to...) that is needed to create a request:code{"county": ..., "restaurant": ...}/codeand send it in "where" parameter.

Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Creating a search with 2 variables

yes ma'am, I used excel and saved my database as a csv file

Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Creating a search with 2 variables

I tried it again, but it's still displaying all of my grades, not the one specified. i'll take some snapshots to post. Maybe I have the "where" parameter attached to the wrong thing??

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

Creating a search with 2 variables

Have you tried running the where clause in the database console? There is a Query button that allows you to test the query.

Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Creating a search with 2 variables

I'll do that
thank you

Return to “Issues”