Commit a886fd65 authored by delanoe's avatar delanoe

Merge branch 'romain-refactoring' into refactoring

parents d1ea7ebf d21c16d2
......@@ -474,7 +474,9 @@ function Main_test( Data , SearchFilter ) {
// if box is checked we'll also search in the abstracts
if ($("#searchAB").is(':checked')) {
matchInTexts.push(record.hyperdata.abstract)
if (typeof record.hyperdata.abstract !== 'undefined') {
matchInTexts.push(record.hyperdata.abstract)
}
}
// inspired from the default cf. dynatable.queries.functions['search']
......
Markdown is supported
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