LP1910288 Bootstrap opac: E-items lines always display in account summary. user/gcollum/lp1910288_bootstrap_opac_e-items_display_in_summary
authorGarry Collum <gcollum@gmail.com>
Tue, 5 Jan 2021 21:26:55 +0000 (16:26 -0500)
committerGarry Collum <gcollum@gmail.com>
Tue, 5 Jan 2021 21:26:55 +0000 (16:26 -0500)
commit5a98724cc04264065d35d5468362d8c8138dfa2d
tree6b9c5426eeafbacb553a52be1f830af55079d7f9
parentc6061319a9cf3f157a49a572aae76b7c43bbb6dd
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>
Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2
Open-ILS/src/templates-bootstrap/opac/parts/config.tt2