Example #1
0
def typeahead_search(search_query):
    results = zoteroapi.search(search_query)
    results['items'] = map(to_typeahead, results['items'])
    return jsonify(results)
Example #2
0
def search(search_query):
    return jsonify(zoteroapi.search(search_query))