LP1751800 - fix fields fields reversing
authorJames Fournie <jamesrf@users.noreply.github.com>
Thu, 2 May 2019 16:53:35 +0000 (09:53 -0700)
committerDan Wells <dbw2@calvin.edu>
Wed, 14 Aug 2019 13:14:45 +0000 (09:14 -0400)
commit548601ece159a628829ef3ca8126ffe96c7ca01e
tree29f4992beba9f72dd96926276774e5d7ed11e220
parentbf37b1e3efa16a2a67aa0902a42afc4616b23cf6
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