[Koha-bugs] [Bug 23527] BakerTaylorBookstoreURL is converted to escaped characters by template, rendering it invalid

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 1 01:38:08 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23527

--- Comment #3 from David Kuhn <techservspec at gmail.com> ---
Created attachment 92516
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92516&action=edit
Bug 23527 - BakerTaylorBookstoreURL is converted to escaped characters by
template, rendering it invalid

Changing the template toolkit filter for rendering the value of
BakerTaylorBookstoreURL in opac-detail.tt and opac-results.tt from uri to url
fixes the problem.

To test (requires a Baker & Taylor username and password):
1. Enter the B&T url into BakerTaylorBookstoreURL.
2. Set BakerTaylorEnabled to "add" and enter your username and password.
3. Look up a title in the OPAC.
4. Locate a title with a cover image.
5. Click on the cover image. You are not redirected to the url stored in
BakerTaylorBookstoreURL.
6. Display the full record for the title
7. Click on the cover image. You are not redirected to the url stored in
BakerTaylorBookstoreURL.
8. Apply the patch.
9. Refresh the OPAC display.
10. Click on the cover image. You are now redirected to the specified url.
11. Return to the results list.
12. Click on a cover image. You are now redirected to the specified url.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list