projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b45292b
)
fix cloning of custom packages where you've changed '(CUSTOM)', RT#5350
author
ivan
<ivan>
Fri, 8 May 2009 08:41:10 +0000
(08:41 +0000)
committer
ivan
<ivan>
Fri, 8 May 2009 08:41:10 +0000
(08:41 +0000)
httemplate/edit/part_pkg.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/part_pkg.cgi
b/httemplate/edit/part_pkg.cgi
index
f404699
..
a2ec630
100755
(executable)
--- a/
httemplate/edit/part_pkg.cgi
+++ b/
httemplate/edit/part_pkg.cgi
@@
-209,7
+209,9
@@
my $disabled_type = $acl_edit_either ? 'checkbox' : 'hidden';
my $agent_clone_extra_sql =
' ( '. FS::part_pkg->curuser_pkgs_sql.
#kludge to clone custom customer packages you otherwise couldn't see
my $agent_clone_extra_sql =
' ( '. FS::part_pkg->curuser_pkgs_sql.
#kludge to clone custom customer packages you otherwise couldn't see
- " OR ( part_pkg.disabled = 'Y' AND part_pkg.comment LIKE '(CUSTOM)%' ) ".
+ #really need a proper "CUSTOM" flag that's distinct from disabled
+ #" OR ( part_pkg.disabled = 'Y' AND part_pkg.comment LIKE '(CUSTOM)%' ) ".
+ " OR ( part_pkg.disabled = 'Y' ) ".
' ) ';
my $conf = new FS::Conf;
' ) ';
my $conf = new FS::Conf;