]> git.koha-community.org Git - koha.git/commit
Bug 11978 - Fix URLs displayed in OverDrive search
authorJesse Weaver <pianohacker@gmail.com>
Thu, 20 Mar 2014 17:20:40 +0000 (11:20 -0600)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 23 Jul 2014 15:50:49 +0000 (17:50 +0200)
commit0c6a3bcad1643dc37369354d6fc8f32c57390339
treee2633731d20097737a4d72865dde2f8c1e21cb33
parent6a78d2ba8e7d76549c7dc93178345e10cc0fc2af
Bug 11978 - Fix URLs displayed in OverDrive search

OverDrive has recently changed its APIs to include "http://" in the URLs
it returns. This patch removes the "http://" on the Koha end so they
aren't doubled.

Test plan:
  1. Run an OverDrive search on the OPAC.
  2. Check the links, they should start with "http://http://"
  3. Apply this patch.
  4. Rerun the search, the links should now be correct.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
I can reproduce the problem and confirm that this patch fixes it.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Patch removes hardcoded http:// from URLs in the Overdrive code.
Trusting Jesse and Owen to have tested this with Overdrive,
code review reveals no additional changes or possible problems.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit ea5040bad2d3d0d298a9b27a95b81e2a3d7a9ad0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt