diff --git a/laboratory/resources/queries/laboratory/dna_oligos.js b/laboratory/resources/queries/laboratory/dna_oligos.js index 90080c4d..7dff98b9 100644 --- a/laboratory/resources/queries/laboratory/dna_oligos.js +++ b/laboratory/resources/queries/laboratory/dna_oligos.js @@ -9,7 +9,10 @@ var console = require("console"); console.log("** evaluating: " + this['javax.script.filename']); - +// Opt out of manage columns feature for all EHR triggers +function managedColumns() { + return false; +} function beforeBoth(row, errors) { if(row.sequence){ diff --git a/laboratory/resources/queries/laboratory/peptides.js b/laboratory/resources/queries/laboratory/peptides.js index ecb06263..5b15262f 100644 --- a/laboratory/resources/queries/laboratory/peptides.js +++ b/laboratory/resources/queries/laboratory/peptides.js @@ -8,6 +8,11 @@ var console = require("console"); console.log("** evaluating: " + this['javax.script.filename']); +// Opt out of manage columns feature for all EHR triggers +function managedColumns() { + return false; +} + function beforeInsert(row, errors) { beforeBoth(row, errors); diff --git a/laboratory/resources/queries/laboratory/samples.js b/laboratory/resources/queries/laboratory/samples.js index 39055068..83a5274c 100644 --- a/laboratory/resources/queries/laboratory/samples.js +++ b/laboratory/resources/queries/laboratory/samples.js @@ -14,6 +14,11 @@ var freezerHelper = org.labkey.laboratory.query.FreezerTriggerHelper.create(LABK console.log("** evaluating: " + this['javax.script.filename']); +// Opt out of manage columns feature for all EHR triggers +function managedColumns() { + return false; +} + function beforeInsert(row, errors){ beforeUpsert(row, errors); }