Commit a8873d8a authored by Romain Courteaud's avatar Romain Courteaud

[erp5_hal_json_style] Fixup: Do not raise on unknown column for listbox

buildQuery should not fail either.
See http://git.erp5.org/gitweb/erp5.git/commit/cc1778373e38a55e252c3d006bba952d30ed2afd?js=1
parent cc177837
......@@ -439,7 +439,7 @@ def renderField(traversed_document, field, form_relative_url, value=None, meta_t
\n
result["query"] = url_template_dict["jio_search_template"] % {\n
"query": make_query({"query": sql_catalog.buildQuery(\n
list_method_query_dict\n
list_method_query_dict, ignore_unknown_columns=True\n
).asSearchTextExpression(sql_catalog)})\n
}\n
else:\n
......
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