Commit 2006abe1 authored by Michel Pelletier's avatar Michel Pelletier

Added reindex_object method for convienence. This doesn't really add

a feature.

-Michel
parent b4d1ad15
......@@ -179,6 +179,10 @@ class CatalogAware:
if hasattr(self, self.default_catalog):
getattr(self, self.default_catalog).uncatalog_object(self.url())
def reindex_object(self):
""" Suprisingly useful """
self.unindex_object()
self.index_object()
def reindex_all(self, obj=None):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment