There are some aspects of the statistics page that can be customized through App Resources.
- Changing the page refresh time
- Changing preparations to lots/total system
Setting refresh time —
Currently, the statistics page will refresh every 24 hours. The code can support arbitrary time. However, this is currently stored as a collection preference, so users will need to modify collection preference JSON if they want any other time.
-
Go to CollectionPreferences in App Resources for the collection you want to set refresh rate for
-
Add
”refreshRate”:time
. Note thattime
is assumed to be in hours. So, put 0.05 if you want it to refresh every 3 minutes. Put 0 to refresh every time.
Switching to lots instead of lots / total —
By default, the preparation statistics display both lots and totals. However, some collections may prefer to only show the number of lots, as lots/totals do not provide any extra information.
Admins can customize the collection statistics to show only lots by following these steps:
This can be done by modifying the JSON in the CollectionPreferences
file at the desired collection level.
-
Go to
CollectionPreferences
in App Resources for the collection you want to enable lots/total. -
Add
"showPreparationsTotal": false,
betweenappearance
andlayout
as shown below:{ "statistics": { "appearance": { "showPreparationsTotal": false, "layout": [ { "label": "Collection", "categories": [ {
-
Go to the Statistics Page and refresh!
You will now see just the count of preparations instead of the total.