LP1910288 Bootstrap opac: E-items lines always display in account summary.
authorGarry Collum <gcollum@gmail.com>
Tue, 5 Jan 2021 21:26:55 +0000 (16:26 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 26 May 2021 18:54:03 +0000 (14:54 -0400)
commit37ee16ea420fb648552ceaca30d8840512c074d9
tree8916f922359c09151ddd054fc8bc07a2c181eca3
parent83b3ea12b2992b8db4b468020e905d07ff5ff015
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 <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2
Open-ILS/src/templates-bootstrap/opac/parts/config.tt2