Commit 2714a209 authored by Romain Courteaud's avatar Romain Courteaud

No need to transfer undefined value.

parent 664f9d1b
......@@ -870,7 +870,9 @@ elif mode == \'search\':\n
}\n
}\n
for select in select_list:\n
document_result[select] = document.getProperty(select, d=None)\n
property_value = document.getProperty(select, d=None)\n
if property_value is not None:\n
document_result[select] = property_value\n
result_list.append(document_result)\n
result_dict[\'_embedded\'] = {"contents": result_list}\n
\n
......
12
\ No newline at end of file
13
\ No newline at end of file
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