Comment 11 for bug 1751800

Revision history for this message
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.