Bug 17896: load BakerTaylor module with use
authorNick Clemens <nick@bywatersolutions.com>
Fri, 21 Feb 2020 12:56:53 +0000 (12:56 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 21 Feb 2020 15:42:58 +0000 (15:42 +0000)
commit2dc33d4df2b5e62b6167dec230b36e472d86b4f0
tree4f64a05223d39c25603a881f3526fcbfc4dc2c45
parent325f82c8a9623dda56223e45753461097be025b3
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>
opac/opac-detail.pl
opac/opac-readingrecord.pl
opac/opac-search.pl
opac/opac-shelves.pl
opac/opac-user.pl