diff options
| author | mark <mark> | 2012-01-30 20:54:14 +0000 |
|---|---|---|
| committer | mark <mark> | 2012-01-30 20:54:14 +0000 |
| commit | fea922a1920136546042dd3ccfac141d2a1c0fc4 (patch) | |
| tree | 932b533a79b5fbd79d208ac4bf16b4825b6eafcc /httemplate/elements/tr-selectmultiple-part_pkg.html | |
| parent | fdc8152e9fea3d1a81ca4f7604379a9eb17bb494 (diff) | |
limit package report by agent permissions, #16217
Diffstat (limited to 'httemplate/elements/tr-selectmultiple-part_pkg.html')
| -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> |
