|
|
@ -408,7 +408,7 @@ def get_metadata_calibre_companion(uuid, library):
|
|
|
|
|
|
|
|
|
|
|
|
def feed_search(term):
|
|
|
|
def feed_search(term):
|
|
|
|
if term:
|
|
|
|
if term:
|
|
|
|
entries, __ = calibre_db.get_search_results(term)
|
|
|
|
entries, __, ___ = calibre_db.get_search_results(term)
|
|
|
|
entriescount = len(entries) if len(entries) > 0 else 1
|
|
|
|
entriescount = len(entries) if len(entries) > 0 else 1
|
|
|
|
pagination = Pagination(1, entriescount, entriescount)
|
|
|
|
pagination = Pagination(1, entriescount, entriescount)
|
|
|
|
return render_xml_template('feed.xml', searchterm=term, entries=entries, pagination=pagination)
|
|
|
|
return render_xml_template('feed.xml', searchterm=term, entries=entries, pagination=pagination)
|
|
|
|