X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=js%2Fpz2.js;h=8aab9bff345427d42919be79822eb18371bf246f;hb=ad96f98478e2e653c503ae3cbfc3a3b80f0c5a1b;hp=3665c4ec4bd6b79e47a9070954e2ce965d362d36;hpb=d37211a20196f81f9d008a5fbc58531df017cf64;p=pazpar2-moved-to-github.git diff --git a/js/pz2.js b/js/pz2.js index 3665c4e..8aab9bf 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -644,6 +644,11 @@ pz2.prototype = } else if (bytarget[i]["state"]=="Client_Working") { bytarget[i]["hits"] = "..."; } + if (bytarget[i].diagnostic == "1") { + bytarget[i].diagnostic = "Permanent system error"; + } else if (bytarget[i].diagnostic == "2") { + bytarget[i].diagnostic = "Temporary system error"; + } } context.bytargetCounter++;