]> git.koha-community.org Git - koha.git/commit
Bug 20686: OPAC shows 'Login to OverDrive account' with 'OverDriveCirculation' syspre...
authorMason James <mtj@kohaaloha.com>
Tue, 1 May 2018 01:24:37 +0000 (13:24 +1200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 7 May 2018 14:55:32 +0000 (11:55 -0300)
commitaffd3f0eceba42ec7c92706452a892823eed39e0
tree585e640e7b4713b55348eb174c4a986a1f2bd0ec
parent23aa9866124064cbea8d52c1ec8f72089b4e8626
Bug 20686: OPAC shows 'Login to OverDrive account' with 'OverDriveCirculation' syspref disabled

ps: you will need an active and working overdrive account to test this patch

1/ prepare a koha with overdrive sysprefs set and working
    (OverDriveLibraryID,OverDriveClientKey,OverDriveClientSecret)

2/ set OverDriveCirculation syspref to 'disable'

3/ do an opac search, note the 'Login to OverDrive account' message is incorrectly displayed
    see pic 1

4/ apply patch

5/ do an opac search, note the 'Login to OverDrive account' message is no longer displayed (good)
    see pic 2

Can confirm that bug is replicable and patch applies and functions as described.
Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt