Hello All,
I am trying to do some filtering in the admin. I am using a
combination of
javascript and jQuery to accomplish that.
I have few questions:
1) Can I pass where OR queries in the URL? If so, what is the syntax?
2) I tried using IN in the URL. That has the following behavior:
if I have something like:
http://mysite/admin/atlas/student/?gender__in=M,F
That works.
(the sql query that is generated is where gender IN ('M', ',', 'F')
If I have:
http://mysite/admin/atlas/student/?paper__in=journal1,journal2
That does not work:
(the sql query that is generated is: where paper IN
('j','o','u','n'...) etc.
In other words, the IN takes everything after '=' as an element in
the IN list.
Is there a way to accomplish a query such as:
where paper IN ('journal1', 'journal2')
I appreciate any input.
Thanks a lot,
sanrio