Single instance update_search_index is never called #6

Closed
ostronom opened this Issue Feb 23, 2013 · 2 comments

Comments

Projects
None yet
2 participants

https://github.com/niwibe/djorm-ext-pgfulltext/blob/master/djorm_pgfulltext/models.py#L14

maybe, there should be

instance.update_search_field(pk=instance.pk) ?

https://github.com/niwibe/djorm-ext-pgfulltext/blob/master/djorm_pgfulltext/models.py#L75

or, inject pk here (i did this in my project):

self._fts_manager.update_search_field(pk=self.pk)

niwinz closed this in a9b581b Feb 23, 2013

Collaborator

niwinz commented Feb 23, 2013

You are right. Now fixed.

A lot of thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment