projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0a51b87
)
fix mistake
author
mark
<mark>
Mon, 25 Oct 2010 22:29:36 +0000
(22:29 +0000)
committer
mark
<mark>
Mon, 25 Oct 2010 22:29:36 +0000
(22:29 +0000)
httemplate/search/cust_svc.html
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_svc.html
b/httemplate/search/cust_svc.html
index
61bfc70
..
2c17561
100644
(file)
--- a/
httemplate/search/cust_svc.html
+++ b/
httemplate/search/cust_svc.html
@@
-93,10
+93,6
@@
if ( length( $cgi->param('search_svc') ) ) {
errorpage("No search term specified");
}
errorpage("No search term specified");
}
-if ( $cgi->param('pkgnum') =~ /^(\d+)$/ ) {
- push @extra_sql, "cust_svc.pkgnum = $1";
-}
-
#here is the agent virtualization
push @extra_sql, $FS::CurrentUser::CurrentUser->agentnums_sql(
'null_right' => 'View/link unlinked services'
#here is the agent virtualization
push @extra_sql, $FS::CurrentUser::CurrentUser->agentnums_sql(
'null_right' => 'View/link unlinked services'
@@
-117,8
+113,6
@@
my $sql_query = {
'extra_sql' => "$extra_sql $orderby",
};
'extra_sql' => "$extra_sql $orderby",
};
-warn Dumper($sql_query)."\n";
-
my $count_query = "SELECT COUNT(*) FROM cust_svc $addl_from $extra_sql";
my $link = sub {
my $count_query = "SELECT COUNT(*) FROM cust_svc $addl_from $extra_sql";
my $link = sub {