mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 17:22:56 -07:00
Add global search feature
This commit is contained in:
parent
2b9817319a
commit
339361d15c
4 changed files with 119 additions and 0 deletions
|
@ -1327,6 +1327,12 @@ class WebInterface(object):
|
|||
cherrypy.response.headers['Content-type'] = 'application/json'
|
||||
return json.dumps({'message': 'no data received'})
|
||||
|
||||
@cherrypy.expose
|
||||
def search(self, search_query=''):
|
||||
query = search_query.replace('"', '')
|
||||
|
||||
return serve_template(templatename="search.html", title="Search", query=query)
|
||||
|
||||
@cherrypy.expose
|
||||
def search_results(self, query, **kwargs):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue