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:06 +0000 (09:14 -0400)
commitd97b45cd96a293ba3f2c8e406ea19f1bb2aa0616
tree5c6515ce046ed00ead40ec8d9eb57f85a6138e34
parent9e939cafa1c66536e0e1620868b503a8fe01c7f6
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