General settings
All settings of the Advanced Reports extension are located at Stores -> Configuration -> Mirasvit Extensions -> Advanced Reports. You can also open this page from Reports -> Advanced Reports -> Settings.
All settings are set at the default (global) scope.
General settings
-
Order statuses as default filter: the order statuses that sales and catalog reports are filtered by when they open. By default, these are
Complete,Closed,PendingandProcessing. If you clear the selection, the reports filter byCompleteonly. -
Format data in CSV files: whether exported CSV files contain the values as the report shows them, with currency and number formatting. Set it to
Noto export unformatted (raw) values for numeric columns. Defaults toYes.
Reports
- Sort reports by: the order of reports on the Reports page until an admin picks another order there. Favourite reports always come first.
- Category, then name (default): reports are grouped by their category and sorted by name within each one.
- Name, A to Z: alphabetical order.
- Name, Z to A: reverse alphabetical order.
Dashboards
-
Sort boards by: how boards are ordered in the boards dropdown. A board's own sort order has a higher priority, so boards are sorted by their sort order first and then by this field.
- Creation date (default)
- Title
-
Sort direction: the direction for Sort boards by,
Ascending(default) orDescending.
SQL reports
- Enable SQL reports: lets admins build a report from a read-only
SELECTstatement written by hand. Defaults toNo. Only roles with the Authoring SQL Reports permission can create such reports (see How to restrict access to a specific report). While the feature is off, existing SQL reports cannot run, and the Reports page says so.
The following settings appear when Enable SQL reports is set to Yes:
-
Stop a query after (seconds): how long a statement may run before the database stops it. If a report hits the limit, it shows a message asking to narrow the period or the filters. Defaults to
30. An empty field or0removes the limit; use that only when nothing else depends on the database. -
Results cache TTL (minutes): how long the result of a statement is reused for the same report read the same way, instead of querying the database again. Empty or
0(default) always reads the database. When a result comes from the cache, the report marks it with Reused an earlier answer, as it may be older than the data it describes.
Debugging
- Enable logging reports requests: if set to
Yes, the extension writes the details and execution time of each report request to thevar/log/system.logfile. Defaults toNo.