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 <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
</div>
<br><br>
+ [% IF ebook_api.enabled == 'true' %]
<div class="col-12">
<a href="[% mkurl(ctx.opac_root _ '/myopac/ebook_circs') %]"
title="[% l('View My Checked Out E-Items') %]">
[% l("E-Items ready for pickup") %] (<span id="acct_sum_ebook_hold_ready_total">-</span>)
</a>
</div>
+ [% END %]
</div>
##############################################################################
# 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' ];