Bug 12849 - fix URLs in sent lists
authorRobin Sheat <robin@catalyst.net.nz>
Fri, 29 Aug 2014 04:19:22 +0000 (16:19 +1200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 29 Dec 2014 17:34:51 +0000 (18:34 +0100)
This brings back the http(s) to the URLs in sent lists.

Test plan:
* make a list
* send it to yourself
* see that the URLs aren't clickable
* apply the patch
* repeat, except now the URLs are better

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
By removing this bit of code, the code in Auth.pm is used
instead. The code there is not perfect, but the solution
works and both list and cart use the same code.

Passes tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 6073d8943c74dcb2319fbd8415f819521d5b1092)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

opac/opac-sendshelf.pl

index 3f9b719..470282a 100755 (executable)
@@ -107,10 +107,6 @@ if ( $email ) {
 
     my $user = GetMember(borrowernumber => $borrowernumber);
 
-    if (C4::Context->preference('OPACBaseURL')){
-          $template2->param( OPACBaseURL => C4::Context->preference('OPACBaseURL') );
-    }
-
     $template2->param(
         BIBLIO_RESULTS => \@results,
         email_sender   => $email_from,