Bugzilla – Attachment 20764 Details for
Bug 10807
OPAC: There is no authority search history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10807: FIX if zebra is down, total is undef
Bug-10807-FIX-if-zebra-is-down-total-is-undef.patch (text/plain), 880 bytes, created by
Jonathan Druart
on 2013-09-03 07:33:30 UTC
(
hide
)
Description:
Bug 10807: FIX if zebra is down, total is undef
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-09-03 07:33:30 UTC
Size:
880 bytes
patch
obsolete
>From 8cfeb3a0b03fcb95def1d9bf2b3906c6d5f019f0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 3 Sep 2013 09:32:12 +0200 >Subject: [PATCH] Bug 10807: FIX if zebra is down, total is undef > >The search_history.total column cannot be undef. This patch adds a >default value for the total value. >--- > C4/Search/History.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Search/History.pm b/C4/Search/History.pm >index 4a5d78b..7afdd1e 100644 >--- a/C4/Search/History.pm >+++ b/C4/Search/History.pm >@@ -15,7 +15,7 @@ sub add { > my $sessionid = $params->{sessionid}; > my $query_desc = $params->{query_desc}; > my $query_cgi = $params->{query_cgi}; >- my $total = $params->{total}; >+ my $total = $params->{total} // 0; > my $type = $params->{type} || 'biblio'; > > my $dbh = C4::Context->dbh; >-- >1.7.10.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 10807
:
20734
|
20764
|
20951
|
20952
|
20988
|
20989
|
20990
|
21070
|
21362
|
21363
|
21403
|
22560
|
22561
|
22562
|
22563
|
22564
|
22565
|
23676
|
23677
|
23678
|
23679
|
23680
|
23681
|
23682
|
23712
|
24221
|
24222
|
24223
|
24224
|
24225
|
24226
|
27372
|
27373
|
27374
|
27375
|
27376
|
27377
|
27378