ymcatwincities/openy_gated_content

Use email instead of uid in logs export

Closed this issue · 5 comments

fivejars#152 adds uid to the Logs Archive, but uid is not useful data to site owners without some translation. Let's use email instead, because it's either a real email or a fake one that owners could parse useful data from with a simple excel formula.

Export is done via Views, so this possibly could be done via Views tuning only

@podarok are you sure? It looks like there's custom code that generates the exports https://github.com/fivejars/openy_gated_content/pull/152/files#diff-2e89b91ef29ae86e4bd7de40053c36a84d761929ce86b9ad9c13b48243e90716R250

It seems though, that we should align the View and the Export as much as possible in order to prevent user confusion.

@froboy nice catch.
For sure Views should be used for generating export for consistency and maintenance simplicity

It looks like this was resolved in fivejars#184. The code I referenced in
fivejars@f467113#diff-2e89b91ef29ae86e4bd7de40053c36a84d761929ce86b9ad9c13b48243e90716R269 may be deprecated? @podarok could check, but otherwise this issue could be considered resolved.

@froboy yep, this was fixed and included to the new release