freeside/httemplate/search/elements search.html,1.7,1.8

ivan ivan at pouncequick.420.am
Fri Mar 4 04:34:59 PST 2005


Update of /home/cvs/cvsroot/freeside/httemplate/search/elements
In directory pouncequick:/tmp/cvs-serv14575/httemplate/search/elements

Modified Files:
	search.html 
Log Message:
add agent selection to payment and credit reports, add link to agent browse, closes: Bug#1105

Index: search.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/elements/search.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- search.html	19 Aug 2004 00:22:29 -0000	1.7
+++ search.html	4 Mar 2005 12:34:56 -0000	1.8
@@ -12,9 +12,9 @@
   $opt{align} = [ map $align{$_}, split(//, $opt{align}) ],
     unless !$opt{align} || ref($opt{align});
 
-  if ( ref($opt{'query'}) ) {
-
-  }
+  #if ( ref($opt{'query'}) ) {
+  #
+  #}
 
   unless (exists($opt{'count_query'}) && length($opt{'count_query'})) {
     ( $opt{'count_query'} = $opt{'query'} ) =~
@@ -47,6 +47,8 @@
       $opt{'query'}->{'hashref'} || {}, 
       $opt{'query'}->{'select'},
       $opt{'query'}->{'extra_sql'}. " $limit",
+      '',
+      (exists($opt{'query'}->{'addl_from'}) ? $opt{'query'}->{'addl_from'} : '')
     ) ];
   } else {
     my $sth = dbh->prepare("$opt{'query'} $limit")




More information about the freeside-commits mailing list