projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
attempting to fix things that are broken. Comitting so I can get the newer version.
[zzz-floof.git]
/
floof
/
model
/
search.py
diff --git
a/floof/model/search.py
b/floof/model/search.py
index
2296491
..
f03de51
100644
(file)
--- a/
floof/model/search.py
+++ b/
floof/model/search.py
@@
-1,7
+1,6
@@
from elixir import *
# from users import User
from elixir import *
# from users import User
-from floof.lib.search import do_search
class SavedSearch(Entity):
string = Field(Unicode) # I tried calling this query, but it broke elixir
class SavedSearch(Entity):
string = Field(Unicode) # I tried calling this query, but it broke elixir
@@
-11,10
+10,6
@@
class SavedSearch(Entity):
def __unicode__(self):
return self.string
def __unicode__(self):
return self.string
- @property
- def results(self):
- return do_search(self.string)
-
class GalleryWidget(Entity):
class GalleryWidget(Entity):
@@
-29,7
+24,7
@@
class GalleryWidget(Entity):
@property
def string(self):
@property
def string(self):
- return self.search
+ return self.search
.string
@string.setter
def string(self, value):
@string.setter
def string(self, value):