Commit 94c65822 authored by Romain Courteaud's avatar Romain Courteaud

Handle allDocs limit parameter.

parent d0c1915a
......@@ -163,7 +163,8 @@
.expand({
query: options.query,
// XXX Force erp5 to return embedded document
select_list: options.select_list || ["title", "reference"]
select_list: options.select_list || ["title", "reference"],
limit: options.limit
})
});
})
......
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