Bugzilla – Attachment 59292 Details for
Bug 17945
Breadcrumbs broken on opac-serial-issues.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17945 - Breadcrumbs broken on opac-serial-issues.pl
Bug-17945---Breadcrumbs-broken-on-opac-serial-issu.patch (text/plain), 1.64 KB, created by
Luke Honiss
on 2017-01-19 23:02:16 UTC
(
hide
)
Description:
Bug 17945 - Breadcrumbs broken on opac-serial-issues.pl
Filename:
MIME Type:
Creator:
Luke Honiss
Created:
2017-01-19 23:02:16 UTC
Size:
1.64 KB
patch
obsolete
>From 7cd28553139fcaab1fd4e3c51ab0a3a8f5bc63f2 Mon Sep 17 00:00:00 2001 >From: Luke Honiss <luke.honiss@gmail.com> >Date: Thu, 19 Jan 2017 22:52:49 +0000 >Subject: [PATCH] Bug 17945 - Breadcrumbs broken on opac-serial-issues.pl > >==TEST PLAN== >1) Make a subscription with a record >2) Search and view the record in OPAC >3) Click on the subscription tab and click more details >4) The breadcrumb will say 'Detals for' without the record name >5) Apply patch >6) Refresh the page >7) The breadcrumb will display the name of the record > >(fixed small error) >--- > opac/opac-serial-issues.pl | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/opac/opac-serial-issues.pl b/opac/opac-serial-issues.pl >index 11928bd..95ff4fa 100755 >--- a/opac/opac-serial-issues.pl >+++ b/opac/opac-serial-issues.pl >@@ -29,7 +29,6 @@ use C4::Letters; > use C4::Output; > use C4::Context; > >- > my $query = new CGI; > my $op = $query->param('op'); > my $dbh = C4::Context->dbh; >@@ -73,7 +72,6 @@ if ( $selectview eq "full" ) { > my $yearmin = $subscriptions->[0]->{year}; > my $yearmax = $subscriptions->[ -1 ]->{year}; > >- > # replace CR by <br> in librarian note > # $subscription->{opacnote} =~ s/\n/\<br\/\>/g; > >@@ -112,10 +110,13 @@ else { > > # replace CR by <br> in librarian note > # $subscription->{opacnote} =~ s/\n/\<br\/\>/g; >+ >+ my $title = $subscriptions->[0]->{bibliotitle}; > > $template->param( > biblionumber => scalar $query->param('biblionumber'), > subscription_LOOP => $subscriptions, >+ bibliotitle => $title, > ); > } > output_html_with_http_headers $query, $cookie, $template->output; >-- >2.1.4
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 17945
:
59291
|
59292
|
61327
|
61328