Align authority fixed fields to marcedit.xul
authorArt Rhyno <art632000@yahoo.ca>
Thu, 1 Nov 2012 23:38:50 +0000 (19:38 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 22 Nov 2012 15:37:46 +0000 (10:37 -0500)
Our staff have identified 11 fixed fields that are not mapped
from marcedit.xul to FixedFields.js for authority records:

* Geodiv
* Kind
* SerType
* HeadMain
* HeadSer
* TypeGov
* RefEval
* RecUpd
* NameDiff
* Level
* CatSrc

I have modified FixedFields.js to match the values in marcedit.xul
rather than the other way around so that the display remains
consistent.

Signed-off-by: Art Rhyno <art632000@yahoo.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/web/js/dojo/MARC/FixedFields.js

index 4c11570..997ccf1 100644 (file)
@@ -353,7 +353,7 @@ if(!dojo._hasResource["MARC.FixedFields"]) {
                 SER : {start : 16, len : 1, def : ' ' }
             }
         },
-        "GeoSubd" : {
+        "GeoDiv" : {
             "_8" : {
                 "AUT" : {"start" : 6, "len" : 1, "def" : ' ' }
             }
@@ -368,7 +368,7 @@ if(!dojo._hasResource["MARC.FixedFields"]) {
                 "AUT" : {"start" : 8, "len" : 1, "def" : ' ' }
             }
         },
-        "Auth/Ref" : {
+        "Kind" : {
             "_8" : {
                 "AUT" : {"start" : 9, "len" : 1, "def" : ' ' }
             }
@@ -383,7 +383,7 @@ if(!dojo._hasResource["MARC.FixedFields"]) {
                 "AUT" : {"start" : 11, "len" : 1, "def" : ' ' }
             }
         },
-        "Series" : {
+        "SerType" : {
             "_8" : {
                 "AUT" : {"start" : 12, "len" : 1, "def" : ' ' }
             }
@@ -393,7 +393,7 @@ if(!dojo._hasResource["MARC.FixedFields"]) {
                 "AUT" : {"start" : 13, "len" : 1, "def" : ' ' }
             }
         },
-        "NameUse" : {
+        "HeadMain" : {
             "_8" : {
                 "AUT" : {"start" : 14, "len" : 1, "def" : ' ' }
             }
@@ -403,7 +403,7 @@ if(!dojo._hasResource["MARC.FixedFields"]) {
                 "AUT" : {"start" : 15, "len" : 1, "def" : ' ' }
             }
         },
-        "SerUse" : {
+        "HeadSer" : {
             "_8" : {
                 "AUT" : {"start" : 16, "len" : 1, "def" : ' ' }
             }
@@ -413,27 +413,27 @@ if(!dojo._hasResource["MARC.FixedFields"]) {
                 "AUT" : {"start" : 17, "len" : 1, "def" : ' ' }
             }
         },
-        "GovtAgn" : {
+        "TypeGov" : {
             "_8" : {
                 "AUT" : {"start" : 28, "len" : 1, "def" : ' ' }
             }
         },
-        "RefStatus" : {
+        "RefEval" : {
             "_8" : {
                 "AUT" : {"start" : 29, "len" : 1, "def" : ' ' }
             }
         },
-        "UpdStatus" : {
+        "RecUpd" : {
             "_8" : {
                 "AUT" : {"start" : 31, "len" : 1, "def" : ' ' }
             }
         },
-        "Name" : {
+        "NameDiff" : {
             "_8" : {
                 "AUT" : {"start" : 32, "len" : 1, "def" : ' ' }
             }
         },
-        "Status" : {
+        "Level" : {
             "_8" : {
                 "AUT" : {"start" : 33, "len" : 1, "def" : ' ' }
             }
@@ -443,7 +443,7 @@ if(!dojo._hasResource["MARC.FixedFields"]) {
                 "AUT" : {"start" : 38, "len" : 1, "def" : ' ' }
             }
         },
-        "Source" : {
+        "CatSrc" : {
             "_8" : {
                 "AUT" : {"start" : 39, "len" : 1, "def" : ' ' }
             }