attempting to fix things that are broken. Comitting so I can get the newer version.
[zzz-floof.git] / floof / model / search.py
index fb86f35..f03de51 100644 (file)
@@ -10,13 +10,6 @@ class SavedSearch(Entity):
     def __unicode__(self):
         return self.string
 
-    @property
-    def results(self):
-        # This caused some cyclic dependencies when I tried importing it
-        # at the module level.  I wonder why that is...
-        from floof.lib.search import do_search
-        return do_search(self.string)
-
 
 
 class GalleryWidget(Entity):
@@ -31,7 +24,7 @@ class GalleryWidget(Entity):
 
     @property
     def string(self):
-        return self.search
+        return self.search.string
 
     @string.setter
     def string(self, value):