Provide from on the search query too

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-08-25 17:16:12 +02:00
parent 904badad56
commit 97a1784065
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
3 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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,
}
})
}