mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
query ui: disable fuzzy query, add exact match for calendar query ui (designed only for exact match)
addresses part of #296
This commit is contained in:
parent
2f062cf5c7
commit
b7d919d8d2
@ -82,7 +82,12 @@ function RenderCalendar(prefix, url) {
|
|||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
$.ajax(prefix + "cdx", {
|
$.ajax(prefix + "cdx", {
|
||||||
data: {"url": url, "output": "json"},
|
data: {"url": url,
|
||||||
|
"output": "json",
|
||||||
|
"allowFuzzy": "0",
|
||||||
|
"matchType": "exact"
|
||||||
|
},
|
||||||
|
|
||||||
dataType: "text",
|
dataType: "text",
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
processAll(data.trim());
|
processAll(data.trim());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user