Skip to content

Commit

Permalink
Merge pull request #2169 from shuhaib-aot/bugfix/assign-fix
Browse files Browse the repository at this point in the history
Fixed bug in user assigne list in task header
  • Loading branch information
shuhaib-aot authored Jul 31, 2024
2 parents 0469309 + a9d9829 commit 957d157
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions forms-flow-web/src/apiManager/services/bpmTaskServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import {
} from "../../actions/bpmTaskActions";
import { replaceUrl } from "../../helper/helper";
import axios from "axios";
import { taskDetailVariableDataFormatter } from "./formatterService";
import { REVIEWER_GROUP } from "../../constants/userContants";
import { taskDetailVariableDataFormatter } from "./formatterService";
import { MAX_RESULTS } from "../../components/ServiceFlow/constants/taskConstants";

export const fetchServiceTaskList = (reqData, taskIdToRemove, firstResult, maxResults, ...rest) => {
Expand Down Expand Up @@ -150,7 +149,7 @@ export const fetchUserList = (...rest) => {

export const fetchUserListWithSearch = ({ searchType, query }, ...rest) => {
const done = rest.length ? rest[0] : () => {};
const paramData = { memberOfGroup: REVIEWER_GROUP };
const paramData = { permission: "manage_tasks" };
/*TODO search with query /user?lastNameLike=%${lastName}%&memberOfGroup=${group}*/
//let getReviewerUserListApi = `${API.GET_API_USER_LIST}?memberOfGroup=${REVIEWER_GROUP}`;
if (searchType && query) {
Expand Down

0 comments on commit 957d157

Please sign in to comment.