Bugzilla – Attachment 12042 Details for
Bug 8462
OpacHiddenItems and hidelostitems hide items, but query result count is off
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8462: OpacHiddenItems and hidelostitems hide items, but query result count is off
Bug-8462-OpacHiddenItems-and-hidelostitems-hide-it.patch (text/plain), 1.03 KB, created by
Kyle M Hall (khall)
on 2012-09-07 13:23:43 UTC
(
hide
)
Description:
Bug 8462: OpacHiddenItems and hidelostitems hide items, but query result count is off
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-09-07 13:23:43 UTC
Size:
1.03 KB
patch
obsolete
>From e54ec59d63407b679660aae3bde962c69ac22229 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Thu, 6 Sep 2012 14:09:40 +0200 >Subject: [PATCH] Bug 8462: OpacHiddenItems and hidelostitems hide items, but query result count is off >Content-Type: text/plain; charset="utf-8" > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/Search.pm | 5 +---- > 1 files changed, 1 insertions(+), 4 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 3edf118..f2f33b6 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1766,10 +1766,7 @@ sub searchResults { > } > } > } # notforloan, item level and biblioitem level >- if ($items_count > 0) { >- next if $is_opac && $hideatopac_count >= $items_count; >- next if $hidelostitems && $itemlost_count >= $items_count; >- } >+ > my ( $availableitemscount, $onloanitemscount, $otheritemscount ); > for my $key ( sort keys %$onloan_items ) { > (++$onloanitemscount > $maxitems) and last; >-- >1.7.2.5
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 8462
:
12004
|
12042
|
12586
|
12590
|
27038
|
27039
|
28791
|
28823