Provide from on the search query too
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
904badad56
commit
97a1784065
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -60,6 +60,8 @@ export function search(type, query, cursor) {
|
|||
return axios.get(generateUrl(`/search/providers/${type}/search?term=${query}`), {
|
||||
params: {
|
||||
cursor,
|
||||
// Sending which location we're currently at
|
||||
from: window.location.pathname.replace('/index.php', '') + window.location.search,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue