Bug 21018: Fix TrackClicks for 952$u
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Jun 2018 13:29:30 +0000 (10:29 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 8 Aug 2018 13:06:19 +0000 (13:06 +0000)
commitd14ed73744fa23d4ed649da6d847f4b37cdfce92
treef9abb29275e520eb44f86f80fa9ce8bb2f46ca99
parent038e4011d4e4c1270592d476479062467a7a9be8
Bug 21018: Fix TrackClicks for 952$u

Caused by
  commit 51b6cf2aafbfb45b9fcb072403b986fe3c2add53
  Bug 19847: Track links within the records and 404 for others

We should also accept uri stored in items.uri (952$u)

Test plan:
- Turn on TrackClicks
- Defined uri for some items
- At the OPAC click on the link (from opac-detail.pl)
=> Without this patch you will get 404 (redirected from tracklinks.pl)
=> With this patch applied you will be redirected correctly and the
linktracker will be filled correctly

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
opac/tracklinks.pl