Commit 9e9338c7 by Boris Kocherov

[erp5_only_office] exclude `all` levels in wizard form

1 parent 0959ffa1
......@@ -172,10 +172,12 @@
if (response && response.numRows > 0) {
while (response.hasMoreRows()) {
row = response.readAsObject();
arr.push({
const: row["LEVEL_UNIQUE_NAME"] || undefined,
title: row["LEVEL_NAME"] || undefined
});
if (row["LEVEL_TYPE"] !== 1) { // exclude all level type
arr.push({
const: row["LEVEL_UNIQUE_NAME"] || undefined,
title: row["LEVEL_NAME"] || undefined
});
}
response.nextRow();
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!