Bug 12849 - fix URLs in sent lists
authorRobin Sheat <robin@catalyst.net.nz>
Fri, 29 Aug 2014 04:19:22 +0000 (16:19 +1200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 9 Sep 2014 13:32:05 +0000 (10:32 -0300)
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>
opac/opac-sendshelf.pl

index 38fb544..d2fdc82 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,