From 0a00720347e69f6d583a89690221e4bb9b58090f Mon Sep 17 00:00:00 2001 From: cnathe Date: Mon, 6 Apr 2020 10:52:10 -0500 Subject: [PATCH] Issue 39848: List designer "export and print" checkbox not respected - the export button was being hidden as expected but not the print button - looks to be a regression from back when we did the updated UX rollout from a couple years ago --- api/src/org/labkey/api/query/QueryView.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/src/org/labkey/api/query/QueryView.java b/api/src/org/labkey/api/query/QueryView.java index bd3a91fb939..a5d622dd666 100644 --- a/api/src/org/labkey/api/query/QueryView.java +++ b/api/src/org/labkey/api/query/QueryView.java @@ -2222,8 +2222,9 @@ protected void setupDataView(DataView ret) // TODO: Until the "More" menu is dynamically populated the "Print" button has been moved back to the bar. // Print button is rendered separately to respect ordering -- we want it rendering after all custom buttons // added by overrides of populateButtonBar(). - bb.add(createPrintButton()); -// bar.add(populateMoreMenu()); + // bar.add(populateMoreMenu()); + if (showExportButtons()) + bb.add(createPrintButton()); } rgn.setButtonBar(bb);