From 00642ee770ae82650b4ee4c099024739c49fa69d Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 4 Nov 2015 16:15:24 -0500 Subject: [PATCH] LP#1487527: Release Notes and disable toggles by default Signed-off-by: Thomas Berezansky Signed-off-by: Kathy Lussier Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/parts/config.tt2 | 16 ++++++++-------- docs/RELEASE_NOTES_NEXT/OPAC/depth_toggle.txt | 9 +++++++++ 2 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/depth_toggle.txt diff --git a/Open-ILS/src/templates/opac/parts/config.tt2 b/Open-ILS/src/templates/opac/parts/config.tt2 index 47df01b091..e129519c0a 100644 --- a/Open-ILS/src/templates/opac/parts/config.tt2 +++ b/Open-ILS/src/templates/opac/parts/config.tt2 @@ -174,14 +174,14 @@ ctx.google_books_preview = 0; # Depth Button/Checkbox # Recommendation: Do not enable button for basic search without enabling the # checkbox for the results page -ctx.depth_sel_checkbox = 1; # Results Page Checkbox Toggle -ctx.depth_sel_button = 1; # Basic Search Submit Button -ctx.depth_sel_depth = 0; # Depth to set to -ctx.depth_sel_button_label = l('All Libraries'); -ctx.depth_sel_button_class = 'opac-button'; -ctx.depth_sel_checkbox_label = l('Show results from all libraries'); -ctx.depth_sel_tooltip = l('Select this option to expand your results to all libraries while retaining the priority of your selected library\'s holdings.'); -ctx.depth_sel_resultshint = l('Showing results from all libraries'); +#ctx.depth_sel_checkbox = 1; # Results Page Checkbox Toggle +#ctx.depth_sel_button = 1; # Basic Search Submit Button +#ctx.depth_sel_depth = 0; # Depth to set to +#ctx.depth_sel_button_label = l('All Libraries'); +#ctx.depth_sel_button_class = 'opac-button'; +#ctx.depth_sel_checkbox_label = l('Show results from all libraries'); +#ctx.depth_sel_tooltip = l('Select this option to expand your results to all libraries while retaining the priority of your selected library\'s holdings.'); +#ctx.depth_sel_resultshint = l('Showing results from all libraries'); ############################################################################## # Metarecords configuration diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/depth_toggle.txt b/docs/RELEASE_NOTES_NEXT/OPAC/depth_toggle.txt new file mode 100644 index 0000000000..37b0643001 --- /dev/null +++ b/docs/RELEASE_NOTES_NEXT/OPAC/depth_toggle.txt @@ -0,0 +1,9 @@ +Search Scope Depth Selection +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +A common usage of the catalog is to do a search in a restricted scope, +like a local library. When the results are lacking, the search is repeated in a +consortium-wide scope. This feature provides an optional button and checkbox +to alter the depth of the search to a defined level. + +This feature can be turned on from config.tt2. + -- 2.11.0