Commit cff9d145 authored by Citronalco's avatar Citronalco
Browse files

do not mask truncation character (*) in query

improve css
parent 92eb7195
......@@ -61,7 +61,7 @@ body {
width: 16rem;
}
#searchfields input[type=radio] {
margin-top: 0.8rem;
/* margin-top: 0.8rem; */
}
#searchcontainer label.radio {
text-align: left;
......@@ -137,7 +137,6 @@ div .bookcover {
.bookdata {
display: table-cell;
vertical-align: top;
border-bottom: 5px solid lightgrey;
padding-top: 20px;
padding-bottom: 20px;
......@@ -145,8 +144,8 @@ div .bookcover {
padding-right: 5px;
}
.bookdata div {
padding-top: 5px;
padding-bottom: 5px;
padding-top: 5px;
padding-bottom: 5px;
}
.bookdata a {
text-decoration: none;
......@@ -160,6 +159,8 @@ div .bookcover {
.bookdata li {
display: inline-block;
margin-right: 10px;
margin-top: 1px;
margin-bottom: 1px;
}
.bookdata a.download {
display: inline-block;
......
......@@ -238,7 +238,8 @@
// escape special characters solr in solr query
function escape_lucene(s) {
var escape = ['+', '-', '&', '!', '(', ')', '{', '}', '[', ']', '^', '"', '~', '*', '?', ':', '\\'];
//var escape = ['+', '-', '&', '!', '(', ')', '{', '}', '[', ']', '^', '"', '~', '*', '?', ':', '\\'];
var escape = ['+', '-', '&', '!', '(', ')', '{', '}', '[', ']', '^', '"', '~', '?', ':', '\\'];
var regexp = new RegExp("(\\" + escape.join("|\\") + ")", "g");
return s.replace(regexp, "\\$1");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment