Closed Shirkit closed 2 years ago
Also, this should fix #35
Hi @Shirkit, thanks again for your collaboration! I'm reviewing your pull request, and noticed some small things, but in general is a great enhancement to the plugin! I'll list my observations below:
The first two points are thing I would consider before the merge, the other two are just some suggestions for improvements.
Thanks again for collaborate with Registrations!
Since WooCommerce has evolved and will probably soon remove it's old reports area, we'll work to integrate our reports with new analysis section or to develop or own reports for registrations.
Hello, it's me again.
So I've noticed for a while that reports were broken in some edge cases on my store, so I did a quick fix back then to keep using.
Now, I'm porting proper changes to the base repo, so that everyone has everything properly working.
This should fix for a lot of different stores using registrations, since the previous code did not cover for closed registrations, older orders, busy stores with lots of orders, and wasn't optmized to fetch the minimum amount of data from the DB.
As it stands now, I think it's a direct improvement on all fronts on this functionality.
PS: Sorry for the 2 commits, it's actually only one, but I don't know how to remove the 'merge' one that I did to update my fork.