From: Bill Erickson Date: Thu, 6 Mar 2014 21:40:31 +0000 (-0500) Subject: LP#1284864 correct TPAC metarecord list pagination X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=41a19a921abda776eff828c049ad51fbe6773a65;p=working%2FEvergreen.git LP#1284864 correct TPAC metarecord list pagination Set the template hit_count value for metarecord constituent records page to show the correct counts and pagination. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm index 21d96e23ba..3a69fb1937 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm @@ -407,6 +407,7 @@ sub load_rresults { # force the metarecord result blob to match the format of regular search results $results->{ids} = [map { [$_] } @$bre_ids]; + $results->{count} = scalar(@{$results->{ids}}); } else {