Bugzilla – Attachment 61485 Details for
Bug 17500
Use Elasticsearch to search for patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17500: Display correct total values
Bug-17500-Display-correct-total-values.patch (text/plain), 940 bytes, created by
Nick Clemens (kidclamp)
on 2017-03-22 16:43:54 UTC
(
hide
)
Description:
Bug 17500: Display correct total values
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-03-22 16:43:54 UTC
Size:
940 bytes
patch
obsolete
>From 057027d2c8aa0b0aa8ba7436f8c8819bf80a6857 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 26 Oct 2016 13:09:01 +0200 >Subject: [PATCH] Bug 17500: Display correct total values > >--- > C4/Utils/DataTables/Members.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Utils/DataTables/Members.pm b/C4/Utils/DataTables/Members.pm >index 3680689..d4b79b6 100644 >--- a/C4/Utils/DataTables/Members.pm >+++ b/C4/Utils/DataTables/Members.pm >@@ -136,8 +136,8 @@ sub search { > > my $results = $searcher->store->bag->search( %$query, %$paging ); > my $patrons = $results->hits; >- $iTotalRecords = $results->total; >- $iTotalDisplayRecords = $iTotalRecords; # FIXME this is wrong >+ $iTotalDisplayRecords = $results->total; >+ $iTotalRecords = $searcher->store->bag->count; > > # Get some information on patrons > foreach my $patron (@$patrons) { >-- >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 17500
:
56867
|
56868
|
56869
|
56870
|
56871
|
56872
|
61481
|
61482
|
61483
|
61484
| 61485 |
61486
|
61487