]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 8 Apr 2014 23:36:11 +0000 (23:36 +0000)
commitea5040bad2d3d0d298a9b27a95b81e2a3d7a9ad0
treea10120280936a668e1a89df7d30d2203c209a736
parent007c94ff20a5c9d9c3121849b42f820a0da5b869
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt