I can use #extend with OR expr. for querying tasks

XMLWordPrintable

    • Type: Feature Request
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.8.0, 7.8.0-alpha1
    • Affects Version/s: None
    • Component/s: None
    • None

      TaskQueryImpl#extend combines two separate queries into one. This behavior should also be available when using OR expression within queries.

      TaskQuery extendedQuery = taskService.createQuery()
        .startOr()
          .taskName("aTaskName")
          .taskDescription("aTaskDescription")
        .endOr();
      
      TaskQuery extendingQuery = taksService.createQuery()
        .startOr()
          .candidateUser("aCandidateUser")
          .candidateGroup("aCandidateGroup")
        .endOr();
      
      TaskQuery combinedQuery = (TaskQueryImpl extendedQuery).extend(extendingQuery);
      

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Tassilo Weidner-Mühl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: