Bugzilla – Attachment 124257 Details for
Bug 22690
Merging records with many items too slow (Elasticsearch)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22690: Fix the tracklink feature
Bug-22690-Fix-the-tracklink-feature.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2021-08-31 06:24:31 UTC
(
hide
)
Description:
Bug 22690: Fix the tracklink feature
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-08-31 06:24:31 UTC
Size:
1.22 KB
patch
obsolete
>From bd8554158c22cc3aeb25f29a5f1626d880e7ce22 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 31 Aug 2021 08:23:01 +0200 >Subject: [PATCH] Bug 22690: Fix the tracklink feature > >With the FK we must set to undef/NULL, not 0. >--- > opac/tracklinks.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/opac/tracklinks.pl b/opac/tracklinks.pl >index 5849d3a0c91..5385beac6d2 100755 >--- a/opac/tracklinks.pl >+++ b/opac/tracklinks.pl >@@ -30,8 +30,8 @@ use List::MoreUtils qw( any ); > > my $cgi = CGI->new; > my $uri = $cgi->param('uri') || ''; >-my $biblionumber = $cgi->param('biblionumber') || 0; >-my $itemnumber = $cgi->param('itemnumber') || 0; >+my $biblionumber = $cgi->param('biblionumber');; >+my $itemnumber = $cgi->param('itemnumber'); > > my $tracking_method = C4::Context->preference('TrackClicks'); > unless ( $tracking_method ) { >@@ -41,7 +41,7 @@ unless ( $tracking_method ) { > my $tracker = Koha::Linktracker->new( > { trackingmethod => $tracking_method } ); > if ($uri && ($biblionumber || $itemnumber) ) { >- my $borrowernumber = 0; >+ my $borrowernumber; > > # we have a uri and we want to track > if ( $tracker->trackingmethod() eq 'track' ) { >-- >2.25.1
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 22690
:
90061
|
90115
|
90116
|
92828
|
94505
|
97696
|
98143
|
98210
|
98211
|
99376
|
99379
|
100316
|
104796
|
104797
|
104871
|
105445
|
106144
|
108777
|
109694
|
110991
|
110994
|
111196
|
111207
|
111236
|
111237
|
112100
|
112184
|
112567
|
112569
|
112754
|
113308
|
113309
|
113941
|
113942
|
113967
|
113968
|
118226
|
118227
|
118229
|
118231
|
118391
|
119433
|
119434
|
120820
|
120821
|
120852
|
120853
|
121389
|
121392
|
121474
|
121516
|
121517
|
121518
|
121519
|
121520
|
122846
|
122847
|
122848
|
122849
|
122850
|
122886
|
122887
|
122888
|
122889
|
122890
|
122936
|
122938
|
122939
|
123029
|
123030
|
123031
|
123032
|
123033
|
123034
|
123035
|
123036
|
123037
|
123038
|
123039
|
123040
|
123041
|
123042
|
123044
|
123062
|
123481
|
123482
|
123483
|
123484
|
123485
|
123486
|
123487
|
123488
|
123489
|
123490
|
123491
|
123492
|
123493
|
123494
|
123495
|
123496
|
123497
|
124176
|
124188
| 124257