projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to compensate for changes in r9232,
[freeside.git]
/
httemplate
/
search
/
cust_svc.html
diff --git
a/httemplate/search/cust_svc.html
b/httemplate/search/cust_svc.html
index
6369b20
..
2c17561
100644
(file)
--- a/
httemplate/search/cust_svc.html
+++ b/
httemplate/search/cust_svc.html
@@
-90,11
+90,13
@@
if ( length( $cgi->param('search_svc') ) ) {
push @extra_sql, "svcpart = $1";
} else {
push @extra_sql, "svcpart = $1";
} else {
- e
idiot
("No search term specified");
+ e
rrorpage
("No search term specified");
}
#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 );
@@
-115,7
+117,7
@@
my $count_query = "SELECT COUNT(*) FROM cust_svc $addl_from $extra_sql";
my $link = sub {
my $cust_svc = shift;
my $link = sub {
my $cust_svc = shift;
- my $url =
FS::UI::Web::
svc_url(
+ my $url = svc_url(
'm' => $m,
'action' => 'view',
#'part_svc' => $cust_svc->part_svc,
'm' => $m,
'action' => 'view',
#'part_svc' => $cust_svc->part_svc,