Bugzilla – Attachment 64683 Details for
Bug 17698
Make patron notes show up on staff dashboard
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17698: [FOLLOW-UP] Reverting back to original resultset usage
Bug-17698-FOLLOW-UP-Reverting-back-to-original-res.patch (text/plain), 1.03 KB, created by
Aleisha Amohia
on 2017-06-27 21:56:34 UTC
(
hide
)
Description:
Bug 17698: [FOLLOW-UP] Reverting back to original resultset usage
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2017-06-27 21:56:34 UTC
Size:
1.03 KB
patch
obsolete
>From 8cf0ea971d9bba0eb563d7826b2634d810acbd2b Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 27 Jun 2017 21:55:09 +0000 >Subject: [PATCH] Bug 17698: [FOLLOW-UP] Reverting back to original resultset > usage > >See Comment 25 >--- > circ/checkout-notes.pl | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/circ/checkout-notes.pl b/circ/checkout-notes.pl >index e0a7c51..0553352 100755 >--- a/circ/checkout-notes.pl >+++ b/circ/checkout-notes.pl >@@ -38,7 +38,10 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > ); > > my $pending_checkout_notes = Koha::Checkouts->search({ noteseen => 0 })->count; >-my @notes = Koha::Checkouts->search({ 'me.note' => { '!=', undef } }, { prefetch => [ 'borrower', { 'item' => 'biblio' } ] }); >+my @notes = Koha::Database->new()->schema()->resultset('Issue')->search( >+ { 'me.note' => { '!=', undef } }, >+ { prefetch => [ 'borrower', { 'item' => 'biblio' } ] } >+); > > $template->param( > pending_checkout_notes => $pending_checkout_notes, >-- >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 17698
:
57851
|
58779
|
58780
|
58786
|
59480
|
59638
|
59762
|
59778
|
59809
|
59828
|
59829
|
59957
|
61857
|
62337
|
62351
|
64662
|
64683
|
64835
|
71100
|
71126
|
71127
|
72875
|
72876
|
72877
|
73004
|
73005
|
73006
|
73839
|
73840
|
73841
|
74044
|
74193
|
75837
|
75838
|
75839
|
75840
|
75841
|
75842
|
76011
|
76012
|
76028
|
76029
|
76030
|
76031
|
76032
|
76033
|
76034
|
76035
|
76036
|
76037
|
89964
|
90037