From 9587d10a3576f73f30571a79a8263c8c657d295b Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 18 Sep 2009 20:26:54 +0000 Subject: [PATCH] just in case code ever tries to get the OPAC to show the magic PreCat record, don't let it git-svn-id: svn://svn.open-ils.org/ILS/trunk@14059 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/util.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/cat/util.js b/Open-ILS/xul/staff_client/server/cat/util.js index 0a73e17f82..8a1b977b95 100644 --- a/Open-ILS/xul/staff_client/server/cat/util.js +++ b/Open-ILS/xul/staff_client/server/cat/util.js @@ -186,6 +186,9 @@ cat.util.show_in_opac = function(selection_list) { alert($("catStrings").getFormattedString('staff.cat.util.show_in_opac.unknown_barcode', [selection_list[i].barcode])); continue; } + if (doc_id == -1 ) { + continue; /* pre-cat */ + } if (typeof seen[doc_id] != 'undefined') { continue; } -- 2.11.0