mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
These config values are relatively static but in some cases they can be called many times in the same request (like rendering a report or a large list of line_items in BOM). These values will now only get fetched from Redis/Postgres once at most per request/job.
Reports framework
A framework that handles querying and rendering tabular data.
TODO: add more details on how each part works.
Rules
Rules are used for grouping, ordering, and summary rows. Options are documented at Reporting::ReportTemplate#rules.