Bugzilla – Attachment 12590 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]
[SIGNED-OFF] Bug 8462: OpacHiddenItems and hidelostitems hide items, but query result count is off
SIGNED-OFF-Bug-8462-OpacHiddenItems-and-hidelostit.patch (text/plain), 1.13 KB, created by
Nicole C. Engard
on 2012-09-28 13:59:30 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8462: OpacHiddenItems and hidelostitems hide items, but query result count is off
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2012-09-28 13:59:30 UTC
Size:
1.13 KB
patch
obsolete
>From 6bbb2a75dc76ddcc0f3a7a3a734188d4f7d84b55 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] [SIGNED-OFF] Bug 8462: OpacHiddenItems and hidelostitems hide items, but query result count is off > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >Works as described and solves the problem for now. I'd say we >need a way to make it work by hiding bib records if no items >are available as well. >--- > C4/Search.pm | 5 ----- > 1 files changed, 0 insertions(+), 5 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 7c20780..97d7d15 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1884,11 +1884,6 @@ sub searchResults { > } > } # notforloan, item level and biblioitem level > >- # if all items are hidden, do not show the record >- if ($items_count > 0 && $hideatopac_count == $items_count) { >- next; >- } >- > my ( $availableitemscount, $onloanitemscount, $otheritemscount ); > for my $key ( sort keys %$onloan_items ) { > (++$onloanitemscount > $maxitems) and last; >-- >1.7.2.3
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