koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Suggestions.pm [rel_3_0]


From: paul poulain
Subject: [Koha-cvs] koha/C4 Suggestions.pm [rel_3_0]
Date: Thu, 25 Jan 2007 09:39:36 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     paul poulain <tipaul>   07/01/25 09:39:36

Modified files:
        C4             : Suggestions.pm 

Log message:
        reintroducing $status filter, removed too quickly yesterday :-(

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Suggestions.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.12.2.5&r2=1.12.2.6

Patches:
Index: Suggestions.pm
===================================================================
RCS file: /sources/koha/koha/C4/Suggestions.pm,v
retrieving revision 1.12.2.5
retrieving revision 1.12.2.6
diff -u -b -r1.12.2.5 -r1.12.2.6
--- Suggestions.pm      24 Jan 2007 13:52:38 -0000      1.12.2.5
+++ Suggestions.pm      25 Jan 2007 09:39:36 -0000      1.12.2.6
@@ -17,7 +17,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: Suggestions.pm,v 1.12.2.5 2007/01/24 13:52:38 tipaul Exp $
+# $Id: Suggestions.pm,v 1.12.2.6 2007/01/25 09:39:36 tipaul Exp $
 
 use strict;
 require Exporter;
@@ -28,7 +28,7 @@
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.12.2.5 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.12.2.6 $' =~ /\d+/g;
   shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
 
 =head1 NAME
@@ -121,6 +121,10 @@
             }
         }
     }
+    if ($status) {
+        push @sql_params,$status;
+        $query .= " and status=?";
+    }
     if ($suggestedbyme) {
         unless ($suggestedbyme eq -1) {
             push @sql_params,$user;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]