Changes between Initial Version and Version 1 of Ticket #17091, comment 2


Ignore:
Timestamp:
10/27/2011 05:55:22 AM (4 years ago)
Author:
ramiro
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17091, comment 2

    initial v1  
    1 I am using in operator to filter results by multiple status values, i.e. ?status__in=0,30,40 filters results with status values 0, 30 and 40. Thats what i want. status_in (with single _) does not work as expected, it just redirects to ?e=1 without filtered results. Even the default filters use 2 _ notation. Like if i use default filter "Status", the url is ?status__exact=30. Thats the default notation i guess and only __ works. Here is the example of default django filter behavior.
     1I am using in operator to filter results by multiple status values, i.e. `"?status__in=0,30,40"` filters results with status values 0, 30 and 40. Thats what i want. status_in (with single _) does not work as expected, it just redirects to ?e=1 without filtered results. Even the default filters use 2 _ notation. Like if i use default filter "Status", the url is `"?status__exact=30"`. Thats the default notation i guess and only `"__"` works. Here is the example of default django filter behavior.
    22
    33http://i.imgur.com/RwRTI.png
Back to Top