Bugzilla – Attachment 141497 Details for
Bug 28375
Inefficiencies in fetching COinS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28375: (follow-up) Use C4::Context->interface
Bug-28375-follow-up-Use-C4Context-interface.patch (text/plain), 3.61 KB, created by
Nick Clemens (kidclamp)
on 2022-10-07 12:01:13 UTC
(
hide
)
Description:
Bug 28375: (follow-up) Use C4::Context->interface
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-10-07 12:01:13 UTC
Size:
3.61 KB
patch
obsolete
>From 30b82e174e69c4d2f69705679b8de39d5fee0719 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 7 Oct 2022 12:00:21 +0000 >Subject: [PATCH] Bug 28375: (follow-up) Use C4::Context->interface > >--- > C4/Search.pm | 1 - > C4/XSLT.pm | 2 +- > catalogue/detail.pl | 1 - > opac/opac-detail.pl | 1 - > opac/opac-shelves.pl | 1 - > opac/opac-tags.pl | 1 - > virtualshelves/shelves.pl | 1 - > 7 files changed, 1 insertion(+), 7 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 35b6fbfe52..72bbbcb6be 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -2018,7 +2018,6 @@ sub searchResults { > fix_amps => 1, > hidden_items => \@hiddenitems, > xslt_variables => $xslt_variables, >- interface => $search_context->{'interface'} > } > ); > } >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index 9e3d3f70e7..21d270e3df 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -178,7 +178,7 @@ sub XSLTParse4Display { > my $hidden_items = $params->{hidden_items} || []; > my $variables = $params->{xslt_variables}; > my $items_rs = $params->{items_rs}; >- my $interface = $params->{interface}; >+ my $interface = C4::Context->interface; > > die "Mandatory \$params->{xsl_syspref} was not provided, called with biblionumber $params->{biblionumber}" > if not defined $params->{xsl_syspref}; >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 479e7f4895..9c93a2db58 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -261,7 +261,6 @@ if ( $showcomp eq 'both' || $showcomp eq 'staff' ) { > record => $part, > xsl_syspref => "XSLTResultsDisplay", > fix_amps => 1, >- interface => 'intranet' > } > ); > } >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 0b427aa0a6..4dfa5ec728 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -612,7 +612,6 @@ if ( $showcomp eq 'both' || $showcomp eq 'opac' ) { > record => $part, > xsl_syspref => 'OPACXSLTResultsDisplay', > fix_amps => 1, >- interface => 'opac' > } > ); > } >diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl >index b9f60f2d30..e228b3dfb0 100755 >--- a/opac/opac-shelves.pl >+++ b/opac/opac-shelves.pl >@@ -416,7 +416,6 @@ if ( $op eq 'view' ) { > fix_amps => 1, > xslt_variables => $variables, > items_rs => $items->reset, >- interface => 'opac' > } > ); > >diff --git a/opac/opac-tags.pl b/opac/opac-tags.pl >index c5adf41961..43f156d31b 100755 >--- a/opac/opac-tags.pl >+++ b/opac/opac-tags.pl >@@ -293,7 +293,6 @@ if ($loggedinuser) { > fix_amps => 1, > hidden_items => \@hidden_items, > xslt_variables => $variables, >- interface => 'opac' > } > ); > >diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl >index 08b99a16be..fa92cfcd6e 100755 >--- a/virtualshelves/shelves.pl >+++ b/virtualshelves/shelves.pl >@@ -293,7 +293,6 @@ if ( $op eq 'view' ) { > record => $record, > xsl_syspref => 'XSLTListsDisplay', > fix_amps => 1, >- interface => 'intranet' > } > ); > >-- >2.30.2
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 28375
:
121123
|
121124
|
127582
|
140955
|
141051
|
141126
|
141490
|
141491
|
141497
|
141955
|
141956
|
141957
|
141958