diff options
author | mark <mark> | 2012-01-30 20:49:18 +0000 |
---|---|---|
committer | mark <mark> | 2012-01-30 20:49:18 +0000 |
commit | 3f16e52331cf5d26ae4b9113ab1eb518f0b31b97 (patch) | |
tree | 597abd22011bd8c4ad934d763715e03ad53d2889 | |
parent | bdd45384ec9688d44f0225aff5a22be53a55ed68 (diff) |
limit package report by agent permissions, #16217
-rw-r--r-- | httemplate/elements/tr-selectmultiple-part_pkg.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/httemplate/elements/tr-selectmultiple-part_pkg.html b/httemplate/elements/tr-selectmultiple-part_pkg.html index 0b83da02c..ea87eeac0 100644 --- a/httemplate/elements/tr-selectmultiple-part_pkg.html +++ b/httemplate/elements/tr-selectmultiple-part_pkg.html @@ -2,10 +2,11 @@ <TD <% $style %>> <% include( '/elements/select-table.html', 'table' => 'part_pkg', - 'name_col' => 'pkg', - 'disable_empty' => 1, - 'element_etc' => 'multiple', - %opt, + 'name_col' => 'pkg', + 'disable_empty' => 1, + 'element_etc' => 'multiple', + 'extra_sql' => 'WHERE ' . FS::part_pkg->curuser_pkgs_sql, + %opt, ) %> </TD> |