From: Garry Collum Date: Tue, 5 Jan 2021 21:26:55 +0000 (-0500) Subject: LP1910288 Bootstrap opac: E-items lines always display in account summary. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=37ee16ea420fb648552ceaca30d8840512c074d9;p=evergreen%2Fmasslnc.git LP1910288 Bootstrap opac: E-items lines always display in account summary. The E-item summary of ckos and holds always display in the My Account Summary of the Bootstrap Opac regardless of the ebook_api.enabled flag in config.tt2. This fixes that issue. It also sets both the ebook_api.enabled and ebok_api.ebook_test.enabled flags to default to false. To test: 1. Set ebook_api.enabled in config.tt2 to false. 2. Look at a patron's account summary and notice that it displays the e-item lines. 3. Apply the patch. 4. The E-item lines are now suppressed. Signed-off-by: Garry Collum Signed-off-by: Terran McCanna Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 index 2f61dccde4..29b8198538 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 @@ -50,6 +50,7 @@

+ [% IF ebook_api.enabled == 'true' %] + [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 index 6e45668acf..7409a4b4ec 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 @@ -54,8 +54,8 @@ google_analytics.code = 'UA-9999999-99'; ############################################################################## # Ebook API integration ############################################################################## -ebook_api.enabled = 'true'; -ebook_api.ebook_test.enabled = 'true'; +ebook_api.enabled = 'false'; +ebook_api.ebook_test.enabled = 'false'; ebook_api.ebook_test.base_uris = [ 'http://example.com/ebookapi/t/' ]; ebook_api.oneclickdigital.enabled = 'false'; ebook_api.oneclickdigital.base_uris = [ 'http://example.oneclickdigital.com/Products/ProductDetail.aspx' ];