sync
[Pman.Admin] / Pman.Tab.Group_Members.js
index 361b837..2965064 100644 (file)
@@ -44,6 +44,8 @@ Pman.Tab.Group_Members = new  Pman.Tab.PersonList({
         o.params['query[type]'] = this.type; // group type..
         o.params['query[person_internal_only_all]'] = 1;
         o.params['query[person_inactive]'] = this.showInActive ? 0  : 1;
+        o.params.company_id_comptype = 'OWNER';
+        o.params._with_group_membership = 1;
         
     },
     
@@ -53,6 +55,7 @@ Pman.Tab.Group_Members = new  Pman.Tab.PersonList({
             this.c_name(),
             this.c_office_id_name(),
             this.c_role(),
+            this.c_group_membership(),
             this.c_phone(),
             this.c_fax(),
             this.c_email(),
@@ -61,7 +64,8 @@ Pman.Tab.Group_Members = new  Pman.Tab.PersonList({
     },
     
     dialog: function () {
-        return Pman.Dialog.PersonStaff;
+        return Pman.Dialog.AdminPerson;
+        //return Pman.Dialog.PersonStaff;
     },
     bulkAdd : function() {
         //return Pman.Dialog.PersonBulkAdd