Page 2 of 3

HOW TO SORT A LIST FOR A STRING IN THE DATABASE

Posted: Thu Sep 18, 2014 4:31 am
by Rafael Marques

aqui? Image

here?


HOW TO SORT A LIST FOR A STRING IN THE DATABASE

Posted: Thu Sep 18, 2014 4:39 am
by Yurii Orishchuk

Yes,

i mean about place what is you talked before.

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

So you got it to work before.

Regards.


HOW TO SORT A LIST FOR A STRING IN THE DATABASE

Posted: Thu Sep 18, 2014 4:55 am
by Rafael Marques

Yurii ...

But I have several buttons ..

Pharmacies, restaurants, bars ...
in total there are 20 buttons.

so I have to create 20 LSV \ 's.

Am I correct?

So how can I use the code you gave me if I'm 20 LSV \ 's different?

yourLsv localStorage.getItem var = (\ "yourLSVFromFirstStep \");"


HOW TO SORT A LIST FOR A STRING IN THE DATABASE

Posted: Thu Sep 18, 2014 4:58 am
by Yurii Orishchuk

No,

You can create one LSV but each item will store in this LSV appropriate to this button value.

Then you get this LSV in datasource mapping and build based on this value your where request.

Regards.


HOW TO SORT A LIST FOR A STRING IN THE DATABASE

Posted: Thu Sep 18, 2014 5:13 am
by Rafael Marques

like this?

Image

Image

Image


HOW TO SORT A LIST FOR A STRING IN THE DATABASE

Posted: Thu Sep 18, 2014 5:22 am
by Rafael Marques

What am I doing make sense?
Look below

Image

Image


HOW TO SORT A LIST FOR A STRING IN THE DATABASE

Posted: Thu Sep 18, 2014 5:28 am
by Rafael Marques

would it make any sense to put a code that says ..

[If the value is ( 'restaurants ') will be where the { "category ": "restaurants "}]

[If the value is ( 'pharmacies ') will be where the { "category ": "pharmacies "}]

??

please help me because I'm lost


HOW TO SORT A LIST FOR A STRING IN THE DATABASE

Posted: Thu Sep 18, 2014 5:53 am
by Rafael Marques

was what I meant?

Image


HOW TO SORT A LIST FOR A STRING IN THE DATABASE

Posted: Thu Sep 18, 2014 12:18 pm
by Rafael Marques

??


HOW TO SORT A LIST FOR A STRING IN THE DATABASE

Posted: Thu Sep 18, 2014 12:39 pm
by Maryna Brodina

Sorry Rafael, no update yet...