1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-26 12:57:40 +00:00

Enable custom column datetime (adv. search not working yet) #1984

This commit is contained in:
Ozzie Isaacs
2021-05-13 10:39:36 +02:00
parent 9ef705650b
commit b0cc52e0aa
5 changed files with 29 additions and 10 deletions

View File

@@ -63,6 +63,7 @@ if (!Modernizr.inputtypes.date) {
}).trigger("change");
}
/*
Takes a prefix, query typeahead callback, Bloodhound typeahead adapter
and returns the completions it gets from the bloodhound engine prefixed.
@@ -78,11 +79,6 @@ function prefixedSource(prefix, query, cb, bhAdapter) {
});
}
/*function getPath() {
var jsFileLocation = $("script[src*=edit_books]").attr("src"); // the js file path
return jsFileLocation.substr(0, jsFileLocation.search("/static/js/edit_books.js")); // the js folder path
}*/
var authors = new Bloodhound({
name: "authors",
datumTokenizer: function datumTokenizer(datum) {