From 07c5c7f6c9898f6bfbf09dcc1d06436e756a192a Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 8 Aug 2006 19:07:19 +0000 Subject: [PATCH] daily WTF git-svn-id: svn://svn.open-ils.org/ILS/trunk@5376 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js index fa25eef954..6050cd07b6 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js @@ -57,13 +57,15 @@ function my_init() { ).sort( function(a,b) { a = a[1]; b = b[1]; - if (a == '082' || b == '082') return -1; - if (a == '092' || b == '092') return -1; + if (a == '082') return -1; + if (b == '082') return 1; + if (a == '092') return -1; + if (b == '092') return 1; if (a < b) return -1; if (a > b) return 1; return 0; } - ).reverse() + ) ); hbox.appendChild(ml); ml.setAttribute('editable','true'); ml.setAttribute('width', '200'); -- 2.11.0