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 { ...@@ -61,7 +61,7 @@ body {
width: 16rem; width: 16rem;
} }
#searchfields input[type=radio] { #searchfields input[type=radio] {
margin-top: 0.8rem; /* margin-top: 0.8rem; */
} }
#searchcontainer label.radio { #searchcontainer label.radio {
text-align: left; text-align: left;
...@@ -137,7 +137,6 @@ div .bookcover { ...@@ -137,7 +137,6 @@ div .bookcover {
.bookdata { .bookdata {
display: table-cell; display: table-cell;
vertical-align: top; vertical-align: top;
border-bottom: 5px solid lightgrey; border-bottom: 5px solid lightgrey;
padding-top: 20px; padding-top: 20px;
padding-bottom: 20px; padding-bottom: 20px;
...@@ -145,8 +144,8 @@ div .bookcover { ...@@ -145,8 +144,8 @@ div .bookcover {
padding-right: 5px; padding-right: 5px;
} }
.bookdata div { .bookdata div {
padding-top: 5px; padding-top: 5px;
padding-bottom: 5px; padding-bottom: 5px;
} }
.bookdata a { .bookdata a {
text-decoration: none; text-decoration: none;
...@@ -160,6 +159,8 @@ div .bookcover { ...@@ -160,6 +159,8 @@ div .bookcover {
.bookdata li { .bookdata li {
display: inline-block; display: inline-block;
margin-right: 10px; margin-right: 10px;
margin-top: 1px;
margin-bottom: 1px;
} }
.bookdata a.download { .bookdata a.download {
display: inline-block; display: inline-block;
......
...@@ -238,7 +238,8 @@ ...@@ -238,7 +238,8 @@
// escape special characters solr in solr query // escape special characters solr in solr query
function escape_lucene(s) { function escape_lucene(s) {
var escape = ['+', '-', '&', '!', '(', ')', '{', '}', '[', ']', '^', '"', '~', '*', '?', ':', '\\']; //var escape = ['+', '-', '&', '!', '(', ')', '{', '}', '[', ']', '^', '"', '~', '*', '?', ':', '\\'];
var escape = ['+', '-', '&', '!', '(', ')', '{', '}', '[', ']', '^', '"', '~', '?', ':', '\\'];
var regexp = new RegExp("(\\" + escape.join("|\\") + ")", "g"); var regexp = new RegExp("(\\" + escape.join("|\\") + ")", "g");
return s.replace(regexp, "\\$1"); 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