]> git.koha-community.org Git - koha.git/commit
Bug 26069: Pass correct URL to twitter
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 21 Aug 2020 14:07:46 +0000 (16:07 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 31 Aug 2020 14:10:26 +0000 (16:10 +0200)
commit5fd8774c687c6aaf6716485ab9bd72a69a0e2f76
tree50931839464f087c9d1e02b6c96d055e7420dbd8
parentfaa4b2aa62a02aca7f986cfc411402b1ce7ae076
Bug 26069: Pass correct URL to twitter

We don't provide the url of the detail page so the twitter JS code
retrieve the current location, with the search terms.

Test plan:
Do a search
Click on a result
Click on the twitter button and confirm that the link only contain
biblionumber=x in the parameter

Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt