divio / aldryn-search

Haystack 2.0 search index for django CMS
Other
48 stars 77 forks source link

Fixes should_update depending on publishing state #53

Closed jakob-o closed 8 years ago

jakob-o commented 8 years ago

Fixes enqueing drafts when both instance.publisher_is_draft and instance.published are BOTH False.

I am not sure where exactly the flags are set but I can reliably reproduce both values being set to False and True at the same time when publishing and unpublishing. This should logically not be possible...

czpython commented 8 years ago

Good catch!