Bug 17896: load BakerTaylor module with use
authorNick Clemens <nick@bywatersolutions.com>
Fri, 21 Feb 2020 12:56:53 +0000 (12:56 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 13 Mar 2020 01:19:10 +0000 (01:19 +0000)
commite1f92e91dfdd1d3aeed4b4642969b3246dc92832
tree817a0eefa21af9656d5078727785a357ce6cd642
parentcec049bf80c05e6c32d29d935f6cd1421247aaac
Bug 17896: load BakerTaylor module with use

We are incinsistent here, Amazon and Syndetics module are always loaeded in some places
BakerTaylor is conditional everywhere, and causes issues under plack

For simplicity sake I think we should just load this (small) module where it might be needed

To test:
1 - Disable Baker and Taylor images
2 - Restart plack
3 - Visit opac-readingrecord, opac-detail, opac-search, opac-shelves, opac-user
    Log in to opac
    Virew your reading history
    Make/view a list
    Search the catalog
    Look at an individual title
4 - Enable BakerTaylorEnabled
    If you don't have Baker and Taylor credentials, simply fudge them with bad data and enable
5 - Repeat steps above, in the word of Joubu "Kaboom"
6 - Apply patch
7 - Repeat 1-4
8 - You shoudl be able to load all the pages after enabling the pref

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
opac/opac-detail.pl
opac/opac-readingrecord.pl
opac/opac-search.pl
opac/opac-shelves.pl
opac/opac-user.pl