Idea : v9 about new ehancement introduced Collaborators

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • item
    Active Community Member
    • Mar 2017
    • 1480

    Idea : v9 about new ehancement introduced Collaborators

    Hi Yuri,
    is just a Idea about new ehancement in V9, i think "Collaborators + AssignedUsers"..
    Of course, i have not see the V9, so i can be false

    Maybe make out-of box "Select Filter" like :

    OnlyAsCollaborators


    For me it's not complicate to make a custom select.. like (sample can help other) :

    PHP Code:
    namespace Espo\Custom\Classes\Select\Meeting\BoolFilters;
    
    use Espo\Core\Select\Bool\Filter;
    use Espo\ORM\Query\SelectBuilder;
    use Espo\ORM\Query\Part\Where\OrGroupBuilder;
    use Espo\ORM\Query\Part\Condition as Cond;
    use Espo\Entities\User;
    
    class AsAttendee implements Filter
    {
        public function __construct(
            private User $user
        ){}
    
        public function apply(SelectBuilder $queryBuilder, OrGroupBuilder $orGroupBuilder): void
        {
            $queryBuilder
                ->leftJoin('users', 'asAttendee');
    
            $orGroupBuilder
                ->add(
                    Cond::and(
                        Cond::equal(
                            Cond::column('asAttendeeMiddle.userId'),
                            $this->user->getId()
                        )
                    )
                );
        }
    }
    Maybe if you think is relevant.

    Thanks ... i was waiting with the V9
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​
  • yuri
    Member
    • Mar 2014
    • 8501

    #2
    Hi, We do already have https://github.com/espocrm/espocrm/b...ers/Shared.php
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • zkuun8
      Junior Member
      • Dec 2024
      • 19

      #3
      hey guys,
      I'm working on a Collaborators feature in order to dispatch task to "Collaborators".
      By reading this topic, you refer the next major release and say a such feature should be released?
      Should I wait before building my feature? thanks !!

      Comment


      • Kharg
        Kharg commented
        Editing a comment
        The feature will be released with Espo 9.0 in about 16 days, so it would be better to wait probably
    Working...