Skip to content

Code duplication in getReports(), getReport() #27

@tomasholderness

Description

@tomasholderness

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().

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions