On 5/30/06, Graham King <graham darkcoding.net> wrote:
> I have a custom manager for one of my model
objects which limits the
> objects returned. When I use the search features of the
admin interface,
> it seems most of the details of my query set get lost,
so the result is
> no longer limited by the details I passed to the
'extra' method.
> The combining of my query set (out of the custom
manager) and the
> search query set happens in QuerySet._combine. It seems
that method
> doesn't actually combine, but clones the second query
set and returns that.
>
> Has anyone else had a problem with this, or could
suggest a solution ?
>
> I've filled a ticket about it here:
> http://code
.djangoproject.com/ticket/2038
Hey Graham,
I've checked in that patch and closed the ticket. Thank you
for reporting!
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-users googlegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
|