Skip to content

Commit d319bea

Browse files
Private issue tracker search results (#7384)
* don't throw * Suppress restricted issue exception on search --------- Co-authored-by: Lum <klum@labkey.com>
1 parent dd8231a commit d319bea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

issues/src/org/labkey/issue/model/IssueManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ public HttpView getCustomSearchResult(User user, @NotNull String resourceIdentif
10381038
return null;
10391039
}
10401040

1041-
final IssueObject issue = getIssue(null, user, issueId);
1041+
final IssueObject issue = getIssue(null, user, issueId, false);
10421042
if (null == issue)
10431043
return null;
10441044
Container c = issue.lookupContainer();
@@ -1319,7 +1319,7 @@ public static WebdavResource resolve(String id)
13191319
return null;
13201320
}
13211321

1322-
final IssueObject issue = getIssue(null, User.getSearchUser(), issueId);
1322+
final IssueObject issue = getIssue(null, User.getSearchUser(), issueId, false);
13231323
if (null == issue)
13241324
return null;
13251325

0 commit comments

Comments
 (0)