LP1751800 - fix fields fields reversing
authorJames Fournie <jamesrf@users.noreply.github.com>
Thu, 2 May 2019 16:53:35 +0000 (09:53 -0700)
committerChris Sharp <csharp@georgialibraries.org>
Sun, 18 Aug 2019 12:25:21 +0000 (08:25 -0400)
commitf73b6c6cefb6283170dbfa71fc4f541f456b95f1
tree9ede7938539a4dbbd5bd9f06f9514d688289d08e
parent18a54a9583bc4a6bc06e569c0d308e4e4656fa16
LP1751800 - fix fields fields reversing

The pop() here will remove the last item in the array, only to add it
later with a push() a few lines later.  Instead use a shift() to
preserve the order.

Signed-off-by: James Fournie <james.fournie@gmail.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/web/js/ui/default/staff/reporter/services/template.js