Add ability to search for repos by their full path
This commit is contained in:
parent
76d9cbc14f
commit
d09c402675
3 changed files with 19 additions and 5 deletions
|
@ -43,7 +43,7 @@ function HeaderCtrl($scope, UserService) {
|
|||
$('#repoSearch').typeahead({
|
||||
name: 'repositories',
|
||||
remote: {
|
||||
url: '/api/repository/find/%QUERY',
|
||||
url: '/api/find/repository?query=%QUERY',
|
||||
filter: function(data) {
|
||||
var datums = [];
|
||||
for (var i = 0; i < data.repositories.length; ++i) {
|
||||
|
|
Reference in a new issue