web client: reports - column labels spontaneously re-sort when deleting template fields

Bug #1751800 reported by Felicia Beaudry on 2018-02-26
60
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Evergreen
Medium
Unassigned

Bug Description

When creating templates in the reports module of the web client (3.0.3), the column labels column spontaneously re-sorts in reverse order upon deleting a field. Deleting a second field causes the column labels to re-sort again to the original order. I was able to duplicate this in more than one template, and I've had a couple of other people able to recreate it as well. Screenshot provided.

summary: - web client reports module column labels spontaneously re-sort when
- deleting template fields
+ web client: reports - column labels spontaneously re-sort when deleting
+ template fields
Terran McCanna (tmccanna) wrote :

Yes, this is happening to me as well. It appears to be resorting into the order they were originally in.

Changed in evergreen:
status: New → Confirmed
Jane Sandberg (sandbej) on 2018-03-23
tags: removed: reporttemplates
Changed in evergreen:
importance: Undecided → Medium
Anna Goben (agoben) wrote :

This is highly annoying, especially since it takes so many more clicks already to set up the order in which columns appear now than it did in the XUL client.

Tiffany Little (tslittle) wrote :

+1 to Anna's comment. It's very frustrating.

Jennifer Pringle (jpringle-u) wrote :

Also +1 to Anna's comment. It's very time consuming to re-sort.

Stareagle (sforrest) wrote :

This happens for me both in the Display Fields and the Filters tabs. Sorting the filed order is one thing I definitely miss from the XUL client, much easier.

Stareagle (sforrest) wrote :

The other thing I have found out which is perhaps not related.

I add a field say 'Created Date' of transform 'Date'. If I now add a different field say 'First Name' without actually selecting a new transform it will default to the last one used, ie, 'Date' instead of 'Raw Data' which is what i would expect.

Tiffany Little (tslittle) wrote :

Hi Stuart,

I opened a new bug for your issue, since I think it's a different thing.

https://bugs.launchpad.net/evergreen/+bug/1810965

John Amundson (jamundson) wrote :

Tiffany, and Stareagle, I believe this behavior was reported here: https://bugs.launchpad.net/evergreen/+bug/1778521

Tiffany Little (tslittle) wrote :

Thanks John! That's what I get for not searching well enough! :)

Remington Steed (rjs7) wrote :

I thought the reverse-sorting bug occurred in this file:

staff/reporter/services/template.js

In this function:

service.removeField = function (type, field)

But according to console.log(), the order of the array (and their "index" properties) is the same at the beginning of the function as at the end, and that already appears to be the reversed order. So it seems that something else is reversing the order before removeField() is called.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers