[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 Search.pm [dev_week]
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] koha/C4 Search.pm [dev_week] |
Date: |
Sat, 23 Sep 2006 21:36:43 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Joshua Ferraro <kados> 06/09/23 21:36:42
Modified files:
C4 : Search.pm
Log message:
show availability context
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.23&r2=1.99.2.11.2.24
Patches:
Index: Search.pm
===================================================================
RCS file: /sources/koha/koha/C4/Search.pm,v
retrieving revision 1.99.2.11.2.23
retrieving revision 1.99.2.11.2.24
diff -u -b -r1.99.2.11.2.23 -r1.99.2.11.2.24
--- Search.pm 19 Sep 2006 04:44:34 -0000 1.99.2.11.2.23
+++ Search.pm 23 Sep 2006 21:36:42 -0000 1.99.2.11.2.24
@@ -39,7 +39,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.23 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.99.2.11.2.24 $' =~ /\d+/g;
shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
=head1 NAME
@@ -3191,7 +3191,7 @@
# FIXME: not quite right yet ... will work on this soon -- JF
if ($limit =~ /available/) {
$limit_query.=" and (($query and datedue=0000-00-00) or
($query and datedue=0000-00-00 not lost=1) or ($query and datedue=0000-00-00
not lost=2))";
- $limit_search_desc.=" and available";
+ #$limit_search_desc.=" and available";
}
elsif (($limit_query) && ($limit =~/mc/)) {
$limit_query.=" or $limit" if $limit;