projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged add_tags and lib.search into lib.tags.
[zzz-floof.git]
/
floof
/
model
/
search.py
diff --git
a/floof/model/search.py
b/floof/model/search.py
index
2296491
..
37f2d5f
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):