[open-ils-commits] r17486 - trunk/Open-ILS/web/js/dojo/MARC (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 3 15:55:11 EDT 2010
Author: miker
Date: 2010-09-03 15:55:06 -0400 (Fri, 03 Sep 2010)
New Revision: 17486
Modified:
trunk/Open-ILS/web/js/dojo/MARC/Record.js
Log:
make insertOrderedFields insert in /ascending/ order instead of descending. doh
Modified: trunk/Open-ILS/web/js/dojo/MARC/Record.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/MARC/Record.js 2010-09-03 19:29:30 UTC (rev 17485)
+++ trunk/Open-ILS/web/js/dojo/MARC/Record.js 2010-09-03 19:55:06 UTC (rev 17486)
@@ -72,7 +72,7 @@
var f = arguments[i];
var done = false;
for (var j = 0; j < this.fields.length; j++) {
- if (f.tag > this.fields[j].tag) {
+ if (f.tag < this.fields[j].tag) {
this.insertFieldsBefore(this.fields[j], f);
done = true;
break;
More information about the open-ils-commits
mailing list