VersCreativeUK / FACETS

An open tracker repository for the development team to manage the FACETS project.
0 stars 0 forks source link

DB :: Activity Diary :: Additional Sorting Logic #18

Closed davcpas1234 closed 5 years ago

davcpas1234 commented 5 years ago

Affected

0.0.5

Issue

Currently any activity diary entries retrieved are being ordered through by the initial timestamp (e.g. 9-10am etc) however there is no specific field to record time of creation or time of update.

Therefore this has the undesired effect that the order of activities being performed can be changed inadvertently.

Requirement

davcpas1234 commented 5 years ago

Added .orderBy("activityCreated", Query.Direction.DESCENDING) and added additional field into creation rules