Bug 11647: require that user log into OPAC to request email subscription notifications
authorSophie Meynieux <sophie.meynieux@biblibre.com>
Fri, 31 Jan 2014 11:22:05 +0000 (12:22 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 13 Mar 2014 14:53:33 +0000 (14:53 +0000)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: remy juliette <remy.gonzalves@iepg.fr>
Signed-off-by: Aurelie Fichot <aurelie.fichot@iepg.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes QA script and tests.
Instead of hiding the feature completely, now a message
tells the user to login to subscribe to the email
notifications.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
opac/opac-alert-subscribe.pl

index 7a95750..be357bd 100755 (executable)
@@ -46,7 +46,7 @@ my $biblionumber = $query->param('biblionumber');
         template_name   => "opac-alert-subscribe.tmpl",
         query           => $query,
         type            => "opac",
-        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
+        authnotrequired => 0, #( C4::Context->preference("OpacPublic") ? 1 : 0 ),
         debug           => 1,
     }
 );