Commit a9c09396 authored by delanoe's avatar delanoe

Merge branch 'romain-refactoring' into refactoring

parents 5e9ae8b4 6d095f1c
......@@ -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