keyword search
git-svn-id: http://yolanda.mister-muffin.de/svn@415 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
002e384004
commit
665c2ebf0d
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class SearchController(BaseController):
|
||||||
raw_results.extend(model.Video.query.filter_by(dc_title=c.query).all())
|
raw_results.extend(model.Video.query.filter_by(dc_title=c.query).all())
|
||||||
raw_results.extend(model.Video.query.filter(model.Video.dc_creator.has(name=c.query)).all())
|
raw_results.extend(model.Video.query.filter(model.Video.dc_creator.has(name=c.query)).all())
|
||||||
raw_results.extend(model.Video.query.filter(model.Video.dc_contributor.any(name=c.query)).all())
|
raw_results.extend(model.Video.query.filter(model.Video.dc_contributor.any(name=c.query)).all())
|
||||||
|
raw_results.extend(model.Video.query.filter(model.Video.dc_subject.any(name=c.query)).all())
|
||||||
|
|
||||||
if not raw_results:
|
if not raw_results:
|
||||||
c.message = {
|
c.message = {
|
||||||
|
|
Loading…
Reference in a new issue