From fea922a1920136546042dd3ccfac141d2a1c0fc4 Mon Sep 17 00:00:00 2001 From: mark Date: Mon, 30 Jan 2012 20:54:14 +0000 Subject: [PATCH] limit package report by agent permissions, #16217 --- httemplate/elements/tr-selectmultiple-part_pkg.html | 9 +++++---- 1 file 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 @@ > <% 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, ) %> -- 2.20.1