Don't attempt to control 4xx fields in records
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 30 Jan 2011 05:10:11 +0000 (05:10 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 30 Jan 2011 05:10:11 +0000 (05:10 +0000)
Per LP bug # 708029, it doesn't make sense to apply an
authority control on a 4xx field; so remove those entries
from the authority tag map.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19334 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/marcedit.js

index 2dfd226..0a4dbf1 100644 (file)
@@ -1875,29 +1875,29 @@ function getContextMenu (target, type) {
 }
 
 var authority_tag_map = {
-    100 : ['[100,400,500,700]',100],
-    400 : ['[100,400,500,700]',100],
-    700 : ['[100,400,500,700]',100],
-    800 : ['[100,400,500,700]',100],
-    110 : ['[110,410,510,710]',110],
-    410 : ['[110,410,510,710]',110],
-    710 : ['[110,410,510,710]',110],
-    810 : ['[110,410,510,710]',110],
-    111 : ['[111,411,511,711]',111],
-    411 : ['[111,411,511,711]',111],
-    711 : ['[111,411,511,711]',111],
-    811 : ['[111,411,511,711]',111],
-    240 : ['[130,430,530,730]',130],
-    440 : ['[130,430,530,730]',130],
-    130 : ['[130,430,530,730]',130],
-    730 : ['[130,430,530,730]',130],
-    830 : ['[130,430,530,730]',130],
-    600 : ['[100,400,480,481,482,485,500,580,581,582,585,700,780,781,782,785]',100],
-    630 : ['[130,430,530,730]',130],
-    648 : ['[148,448,548]',148],
-    650 : ['[150,450,480,481,482,485,550,580,581,582,585,750,780,781,782,785]',150],
-    651 : ['[151,451,480,481,482,485,551,580,581,582,585,751,780,781,782,785]',151],
-    655 : ['[155,455,480,481,482,485,555,580,581,582,585,755,780,781,782,785]',155]
+    100 : ['[100,500,700]',100],
+    400 : ['[100,500,700]',100],
+    700 : ['[100,500,700]',100],
+    800 : ['[100,500,700]',100],
+    110 : ['[110,510,710]',110],
+    410 : ['[110,510,710]',110],
+    710 : ['[110,510,710]',110],
+    810 : ['[110,510,710]',110],
+    111 : ['[111,511,711]',111],
+    411 : ['[111,511,711]',111],
+    711 : ['[111,511,711]',111],
+    811 : ['[111,511,711]',111],
+    240 : ['[130,530,730]',130],
+    440 : ['[130,530,730]',130],
+    130 : ['[130,530,730]',130],
+    730 : ['[130,530,730]',130],
+    830 : ['[130,530,730]',130],
+    600 : ['[100,500,580,581,582,585,700,780,781,782,785]',100],
+    630 : ['[130,530,730]',130],
+    648 : ['[148,548]',148],
+    650 : ['[150,550,580,581,582,585,750,780,781,782,785]',150],
+    651 : ['[151,551,580,581,582,585,751,780,781,782,785]',151],
+    655 : ['[155,555,580,581,582,585,755,780,781,782,785]',155]
 };
 
 function getAuthorityContextMenu (target, sf) {