eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

So I decided to save what is in the input box in local storage so that I could possibly make more sense of what I need to do to make this happen.

This is how I have it saved. Image

And this is how I tried to implement it into the JS.
Image

I did notice, however, that I don't have the new LSV mapped to the 'where' parameter like I have the other one, therefore that might explain why it isn't working.

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

More Detail on using the select menu

Hello,

Thank you for the update.
Please let us know if you need any help.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

I do need some help. Would you mind taking a look in my app? I is shared and called MyApp.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

Hi Eascards,

This time your attempts looks better.

But currently you set to two different parameter the same value(with book name) you need to use in second parameter value from LSV you have stored before.

Take a look on screen shot : http://prntscr.com/4na4vj/direct

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

Thank you for that code! I added it and and now it brings up any calf in that book. I checked the headers and it says "null". Screen shot below.

Image

Any advise?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

Hi,

It means you have "null" in "seachinput" LSV.

How to check it:
1 open app on that page.

2 Open browser console.

3 Use in console following code:

pre

localStorage.getItem("seachinput");

/pre

See details: http://prntscr.com/4njwo7/direct

You should have as result - correct value that you stored in this field: https://d2r1vs3d9006ap.cloudfront.net...

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

I entered "calf" in the input box and searched. It brought up a result, but it will bring up every calf no matter what I type in.

I went through the steps above and got this:
Image

Advise?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

Hello,

https://d2r1vs3d9006ap.cloudfront.net...

your screen shot above means you don't save "searchinput" LSV.

So you should deal with this: https://d2r1vs3d9006ap.cloudfront.net...

You should get in console correct search value(from your input).

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

The way I saved the LSV looks like the screen shot so I did some other digging and found this: Image

It is weird that I shows that I saved it here but not in the other place.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

It looks good.

http://prntscr.com/4nv418/direct

Try to see what is sends in "where" request parameter in net tab of browser debugger.

Return to “Issues”