-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Allow cross-repository dependencies on issues #7901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
86442ad
ce3312a
f33a34b
6647aa8
f1bae29
935eae4
0473eca
52f0e19
0b9e67b
b426606
2f257d0
3c78743
662cf44
4e90f86
6d741b7
cf015b6
e630aa7
2af7328
1b08937
3a5f40b
deb2ff3
b7cd0f5
a707ea7
25c40a4
3a9028f
9dd2fc0
e629f7e
0327365
17b7888
2ab1058
690442c
cf36916
ea04606
49b7d2a
2ec084d
c77a950
c19468c
171465c
50680e4
074edcf
ddd3488
1d8bd09
22c5dd2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3069,11 +3069,10 @@ function deleteDependencyModal(id, type) { | |
} | ||
|
||
function initIssueList() { | ||
const repolink = $('#repolink').val(); | ||
$('#new-dependency-drop-list') | ||
.dropdown({ | ||
apiSettings: { | ||
url: suburl + '/api/v1/repos/' + repolink + '/issues?q={query}', | ||
url: suburl + '/api/v1/repos/issues/search?q={query}', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you should pass the repo id or name, and prioritize issues from that repository. There can be thousands of issues in a Gitea installation (Gitea alone has passed 8200). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks, this is done now |
||
onResponse: function(response) { | ||
const filteredResponse = {'success': true, 'results': []}; | ||
const currIssueId = $('#new-dependency-drop-list').data('issue-id'); | ||
|
Uh oh!
There was an error while loading. Please reload this page.