ATT - Reports - Sorting including User defined fields

Discussion forum about Anuko Time Tracker
Post Reply
Tech@Kaje
Posts: 5
Joined: Fri Aug 14, 2020 5:55 pm

ATT - Reports - Sorting including User defined fields

Post by Tech@Kaje » Fri Aug 14, 2020 8:18 pm

Hello,

I have a question to this community regarding the report creation.

I did an update, where I discovered that my optional field seems to be included in the latest version and therefore available as an item on the dropdown list of sorting criteria.

I would like to generate a report, where two of my User defined fields are available for selection when defining the sorting used when generating the report.

I would appreciate any hint/ guidance in terms of being able to modify the reports.php page, so I have included the User defined Fields in the sorting dropdown list.

wrc
Posts: 303
Joined: Tue May 25, 2010 8:30 pm

Re: ATT - Reports - Sorting including User defined fields

Post by wrc » Sat Aug 15, 2020 1:36 pm

My guess is you mean group by fields, not sorting.

If so, you'll need to modify report generation parts, see WEB-INF/lib/ttReportHelper.class.php. For example, see makeGroupByPart function in there.

However, this is advanced stuff, which is better addressed via a customization order.

Tech@Kaje
Posts: 5
Joined: Fri Aug 14, 2020 5:55 pm

Re: ATT - Reports - Sorting including User defined fields

Post by Tech@Kaje » Sun Aug 16, 2020 12:19 pm

Hello wrc,

Thank you for the reply - you guessed right - I meant "Group by fields".

I will issue a proposal for improvement later - my scripting skills do not qualify for modifying the existing design.

Thanks

Post Reply