projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add Net 3 terms, RT#11641
[freeside.git]
/
httemplate
/
search
/
cust_svc.html
diff --git
a/httemplate/search/cust_svc.html
b/httemplate/search/cust_svc.html
index
3beca4d
..
a2cdc8a
100644
(file)
--- a/
httemplate/search/cust_svc.html
+++ b/
httemplate/search/cust_svc.html
@@
-94,7
+94,9
@@
if ( length( $cgi->param('search_svc') ) ) {
}
#here is the agent virtualization
}
#here is the agent virtualization
-push @extra_sql, $FS::CurrentUser::CurrentUser->agentnums_sql;
+push @extra_sql, $FS::CurrentUser::CurrentUser->agentnums_sql(
+ 'null_right' => 'View/link unlinked services'
+ );
my $extra_sql = ' WHERE '. join(' AND ', @extra_sql );
my $extra_sql = ' WHERE '. join(' AND ', @extra_sql );
@@
-108,7
+110,8
@@
my $sql_query = {
'table' => 'cust_svc',
'addl_from' => $addl_from,
'hashref' => {},
'table' => 'cust_svc',
'addl_from' => $addl_from,
'hashref' => {},
- 'extra_sql' => "$extra_sql $orderby",
+ 'extra_sql' => $extra_sql,
+ 'order_by' => $orderby,
};
my $count_query = "SELECT COUNT(*) FROM cust_svc $addl_from $extra_sql";
};
my $count_query = "SELECT COUNT(*) FROM cust_svc $addl_from $extra_sql";