Changes between Initial Version and Version 1 of Ticket #27303, comment 8


Ignore:
Timestamp:
Oct 4, 2016, 6:11:56 PM (8 years ago)
Author:
steve yeago

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27303, comment 8

    initial v1  
    11I think that its likely we still are not understanding each other. In my case above, its not OR, its AND. The only difference is that the filters are applied to the same join versus creating additional joins for each filtered field. I think its probably much more likely that ordinary users would expect things to behave as I am suggesting rather than how they are. I don't think anyone would want to filter on a list of hypothetical Info objects, and then filter them by user, and then filter them by date, and still be confronted by objects that do not reflect querying of user AND date.
     2
     3as you saw in your example, you ended up with one object. This is due to the difference between
     4
     5{{{ .filter(contact__date=X).filter(contact__user=Y) }}}
     6
     7and
     8
     9{{{ .filter(contact__date=X, contact__user=Y) }}}
Back to Top