mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Also return library_id in ajax search result
This commit is contained in:
parent
13ddba374d
commit
12f93be515
@ -548,6 +548,7 @@ def search_result(ctx, rd, db, query, num, offset, sort, sort_order):
|
|||||||
'offset':offset, 'num':len(ids), 'sort':sort,
|
'offset':offset, 'num':len(ids), 'sort':sort,
|
||||||
'base_url':ctx.url_for(search, library_id=db.server_library_id),
|
'base_url':ctx.url_for(search, library_id=db.server_library_id),
|
||||||
'query': query,
|
'query': query,
|
||||||
|
'library_id': db.server_library_id,
|
||||||
'book_ids':ids
|
'book_ids':ids
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user