View | Details | Raw Unified | Return to bug 41783
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-2 / +1 lines)
Lines 1332-1338 Link Here
1332
                                order: [[4, "asc"]],
1332
                                order: [[4, "asc"]],
1333
                                autoWidth: false,
1333
                                autoWidth: false,
1334
                                ajax: {
1334
                                ajax: {
1335
                                    url: "/api/v1/suggestions?q=" + JSON.stringify(tabSuggestionData.search_params),
1335
                                    url: "/api/v1/suggestions?q=" + encodeURIComponent(JSON.stringify(tabSuggestionData.search_params)),
1336
                                    delay: 300, // wait 300 milliseconds before triggering the request
1336
                                    delay: 300, // wait 300 milliseconds before triggering the request
1337
                                    cache: true,
1337
                                    cache: true,
1338
                                    dataType: "json",
1338
                                    dataType: "json",
1339
- 

Return to bug 41783