JS & SQL code in these two functions is now near equivalent, potentially could be collapsed into one method which optional parameters as required.
-> This is important because currently getReport() does not return all parameters for a true representation of a report, potentially breaking client side processing of report objects if they expect complete object as returned by getReports().
JS & SQL code in these two functions is now near equivalent, potentially could be collapsed into one method which optional parameters as required.
-> This is important because currently getReport() does not return all parameters for a true representation of a report, potentially breaking client side processing of report objects if they expect complete object as returned by getReports().