Hello folks!

I'm struggling with one idea:
I want to make visual filter such as - you can click on any image from 
predefined set (select from db) then this image will be highlited and now 
interesting part:
i want to make select from database based on the id of this image like for 
example: db(db.t_thing.id == request.vars.thing_id).select()
Then user can select another image and this id should be added to list.
I implemented tagging for this and took search function from this 
manual 
https://www.packtpub.com/mapt/book/web-development/9781849515467/3/ch03lvl1sec43/efficiently-searching-by-tag


i made ajax 
ajax('{{=URL('default', 'filter_thing', vars=dict(thing_id=thing.id))}}',[], 
'things');


but obviously this will overwrite variable.


So the question is - how to append variables to list ?

Thank you ! 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to