mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
Force the Papa parse delimiter
This commit is contained in:
parent
6508d497ce
commit
a4e3c7c37c
@ -9,7 +9,7 @@ $('#search').on('input', function () {
|
|||||||
data: JSON.stringify({ 'query': query }),
|
data: JSON.stringify({ 'query': query }),
|
||||||
contentType: 'application/json',
|
contentType: 'application/json',
|
||||||
success: function (data, textStatus, request) {
|
success: function (data, textStatus, request) {
|
||||||
let httpResults = Papa.parse(data, { header: true, skipEmptyLines: true });
|
let httpResults = Papa.parse(data, { delimiter: ",", header: true, skipEmptyLines: true });
|
||||||
results.innerHTML = '';
|
results.innerHTML = '';
|
||||||
|
|
||||||
let timeSpent = request.getResponseHeader('Time-Ms');
|
let timeSpent = request.getResponseHeader('Time-Ms');
|
||||||
|
Loading…
Reference in New Issue
Block a user