Bugzilla – Attachment 49898 Details for
Bug 5979
Add separate OPACISBD system preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5979 : OPAC : using OPACISBD systempreference to display link
Bug-5979--OPAC--using-OPACISBD-systempreference-to.patch (text/plain), 1.80 KB, created by
Jonathan Druart
on 2016-04-05 08:55:55 UTC
(
hide
)
Description:
Bug 5979 : OPAC : using OPACISBD systempreference to display link
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-04-05 08:55:55 UTC
Size:
1.80 KB
patch
obsolete
>From aa20b01c6d9002023b1d45c54a99ee3bf4c034a6 Mon Sep 17 00:00:00 2001 >From: Henri-Damien LAURENT <henridamien.laurent@biblibre.com> >Date: Wed, 30 Jun 2010 21:55:39 +0200 >Subject: [PATCH] Bug 5979 : OPAC : using OPACISBD systempreference to display > link > >The OPACISBD system preference is used in order to be able to have one ISBD for OPAC another one for intranet. >But the link ISBD at OPAC was depending on the presence or absence of value in ISBD which is for intranet. >This patch fixes the behaviour to depend on the correct system preference at OPAC > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Verified that new system preference is added cleanly and >ISBD view can be configured independently for staff and OPAC >using OPACISBD and viewISBD system preferences. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > opac/opac-MARCdetail.pl | 4 ++-- > opac/opac-detail.pl | 5 ++--- > 2 files changed, 4 insertions(+), 5 deletions(-) > >diff --git a/opac/opac-MARCdetail.pl b/opac/opac-MARCdetail.pl >index 79b92a8..f4c2a7c 100755 >--- a/opac/opac-MARCdetail.pl >+++ b/opac/opac-MARCdetail.pl >@@ -300,8 +300,8 @@ for my $subfield_code ( @item_subfield_codes ) { > } > } > >-if(C4::Context->preference("ISBD")) { >- $template->param(ISBD => 1); >+if ( C4::Context->preference("OPACISBD") ) { >+ $template->param( ISBD => 1 ); > } > > #Search for title in links >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 6d71bed..3d8025c 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -828,9 +828,8 @@ foreach ( @$reviews ) { > } > } > >- >-if(C4::Context->preference("ISBD")) { >- $template->param(ISBD => 1); >+if ( C4::Context->preference("OPACISBD") ) { >+ $template->param( ISBD => 1 ); > } > > $template->param( >-- >2.7.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5979
:
3480
|
10029
|
10326
|
10327
|
44123
|
44126
|
44208
|
44209
|
44210
|
44211
|
48295
|
49873
|
49874
| 49898 |
49899
|
49900
|
49901
|
49902
|
49903
|
50591