[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 Search.pm [dev_week]
From: |
Kyle Hall |
Subject: |
[Koha-cvs] koha/C4 Search.pm [dev_week] |
Date: |
Thu, 19 Apr 2007 16:19:56 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Kyle Hall <kylemhall> 07/04/19 16:19:56
Modified files:
C4 : Search.pm
Log message:
Intranet search was listing the homebranch beside an item, changed to
holdingbranch
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Search.pm?cvsroot=koha&only_with_tag=dev_week&r1=1.99.2.11.2.38&r2=1.99.2.11.2.39
Patches:
Index: Search.pm
===================================================================
RCS file: /sources/koha/koha/C4/Search.pm,v
retrieving revision 1.99.2.11.2.38
retrieving revision 1.99.2.11.2.39
diff -u -b -r1.99.2.11.2.38 -r1.99.2.11.2.39
--- Search.pm 14 Dec 2006 20:26:06 -0000 1.99.2.11.2.38
+++ Search.pm 19 Apr 2007 16:19:55 -0000 1.99.2.11.2.39
@@ -40,7 +40,7 @@
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
# set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.99.2.11.2.38 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.99.2.11.2.39 $' =~ /\d+/g;
shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
=head1 NAME
@@ -3514,15 +3514,15 @@
$onloan_count++;
$norequests = 0;
}
- # homebranch first, then holdingbranch:q
+ # holdingbranch first, then homebranch
#
else {
$norequests = 0;
- if ($item->{'homebranch'}) {
-
$items->{$item->{'homebranch'}}->{count}++;
+ if ($item->{'holdingbranch'}) {
+
$items->{$item->{'holdingbranch'}}->{count}++;
}
# Last resort
- elsif ($item->{'holdingbranch'}) {
+ elsif ($item->{'homebranch'}) {
$items->{$item->{'homebranch'}}->{count}++;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/C4 Search.pm [dev_week],
Kyle Hall <=