Reporting - USER REGISTRATION REPORT Work
License and Copyright Notice
By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).
Summary
USER REGISTRATION REPORT -- UI is designed to display the total number of guests registered to the NEST and the total number of new guests registered this month (neither are working).
Steps to reproduce
Guest Forms > Guest Visit Reports > User Registration Report
- The information here is currently inaccurate and/or not functional
What is the current bug behavior?
The total number of guests registered to the NEST & the total number of new guests registered this month display 0.
What is the expected correct behavior?
The total number of guests registered to the NEST & the total number of new guests registered this month should be displayed here (numbers vary depending on the month for obvious reasons).
Related Issues
**387 supposedly fixed, awaiting merge
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise.)
Possible fixes
- Date variable needs to be fixed in the GuestRegistrySource.java file where it is hard coded. You cannot get the monthly visits without comparing the month that you are trying to get the report for. Being resolved in issue #387 (closed) . (In merge requests)
- GuestRegistrySource.java has two methods that currently do not work:
- getTotalGuests() & getMonthlyGuests() which is also where the issue stems from
- the database code is incorrect as the database is now remote rather than local for guest registration
Labels
Reports, Registration, Database data storage