[Bps-public-commit] rt-extension-assetsql branch, asset-sql-custom-roles, updated. 0.04-5-g70c3893

Craig Kaiser craig at bestpractical.com
Mon Dec 11 13:46:53 EST 2017


The branch, asset-sql-custom-roles has been updated
       via  70c3893dde448edd1fb4041f5e8d3bfb43a6a81a (commit)
      from  f30cc2e62a6c91bdc89bde05000a48b86123f06f (commit)

Summary of changes:
 html/Asset/Search/Elements/SelectPersonType | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 70c3893dde448edd1fb4041f5e8d3bfb43a6a81a
Author: Craig Kaiser <craig at bestpractical.com>
Date:   Mon Dec 11 13:45:09 2017 -0500

    Remove watcher custom role references
    
    Assets do not have watchers, remove watcher role references
    that were incorrectly brought over from ticket role search
    code

diff --git a/html/Asset/Search/Elements/SelectPersonType b/html/Asset/Search/Elements/SelectPersonType
index a620b32..3a0e525 100644
--- a/html/Asset/Search/Elements/SelectPersonType
+++ b/html/Asset/Search/Elements/SelectPersonType
@@ -31,12 +31,10 @@ elsif ($Suffix eq 'Group') {
    @types = qw(Owner HeldBy Contact );
 }
 else {
-   @types = qw( Watcher Owner HeldBy contact );
+   @types = qw( Owner HeldBy Contact );
 }
 
 my @subtypes = @{ $RT::Assets::SEARCHABLE_SUBFIELDS{'User'} };
-use Data::Printer;
-p(@{ $RT::Assets::SEARCHABLE_SUBFIELDS{'User'} });
 
 $m->callback(Types => \@types, Subtypes => \@subtypes);
 </%INIT>

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list