Moved some hard coded statistics settings to config file. Parameterized DB queries to prevent SQL injection. Added method overrides to support upcoming date range filtering for statistics. UI support for new config settings will be in separate commit.
These changes have been tested locally in my dev instance. All statistics methods appear to be working as expected. New settings are set to defaults (defaults being original hard-coded values).
Moved some hard coded statistics settings to config file. Parameterized DB queries to prevent SQL injection. Added method overrides to support upcoming date range filtering for statistics. UI support for new config settings will be in separate commit.
These changes have been tested locally in my dev instance. All statistics methods appear to be working as expected. New settings are set to defaults (defaults being original hard-coded values).