diff options
| author | ivan <ivan> | 2005-03-04 12:34:56 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2005-03-04 12:34:56 +0000 |
| commit | b1fc20ef3b68a8536163fbb17c57bca15555f3c4 (patch) | |
| tree | 389d9d91cd4e855a113c8825adac926ec1f71dcb /httemplate/search/elements | |
| parent | 8f11e2a03067829dc5f8cd6ae7fa0e3f249d61c1 (diff) | |
add agent selection to payment and credit reports, add link to agent browse, closes: Bug#1105
Diffstat (limited to 'httemplate/search/elements')
| -rw-r--r-- | httemplate/search/elements/search.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html index 566ea8391..712d63a91 100644 --- a/httemplate/search/elements/search.html +++ b/httemplate/search/elements/search.html @@ -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") |
