Refactored the arguments vertically as opposed to one line lising of them
Updated the comment to add that it excludes/filters out the placeholder transactions created from the addition of tags for the users
Refactored how the query looks for both the admin and the user, only one call to the db's method query Transaction, stored that in a variable query which is reused in both the admin and regular user
Added the filter to both the admin and user to exclude the placeholder/dummy transactions from showing up
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.