Commit dc1f33e1 by Boris Kocherov

[erp5_only_office] olapy compatibility changes

1 parent 31278aa9
......@@ -83,10 +83,14 @@
if (!settings.prop.restrictions) {
settings.prop.restrictions = {};
}
if (!settings.prop.properties) {
settings.prop.properties = {};
}
if (connection_settings) {
settings.urls = connection_settings.urls;
settings.prop.restrictions.CATALOG_NAME = connection_settings.properties.Catalog;
settings.prop.restrictions.CUBE_NAME = connection_settings.properties.Cube;
settings.prop.properties.DataSourceInfo = connection_settings.properties.DataSourceInfo;
settings.prop.properties.Catalog = connection_settings.properties.Catalog;
}
return xmla_request_retry(function_name, settings);
});
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!